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 d33c8d3 commit 6a9a104
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ jobs:
steps:
- name: checkout code
uses: actions/checkout@v3

- name: Get the current date
id: date
run: echo "::set-output name=date::$(date +%s)"

- name: Build the Docker image
uses: docker/build-push-action@v2
with:
push: false
tags: negin513/neon-app:$(date +%s)
tags: negin513/neon-app:${{ steps.date.outputs.date }}

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

0 comments on commit 6a9a104

Please sign in to comment.