Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
negin513 authored Apr 29, 2024
1 parent 837c7ef commit d33c8d3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ on:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: checkout code
uses: actions/checkout@v3

- name: Build the Docker image
run: docker build . --file Dockerfile --no-cache -tag negin513/neon-app:$(date +%s)
uses: docker/build-push-action@v2
with:
push: false
tags: negin513/neon-app:$(date +%s)

#run: docker build . --file Dockerfile --no-cache -tag negin513/neon-app:$(date +%s)

0 comments on commit d33c8d3

Please sign in to comment.