We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c8c01c commit fe07ce8Copy full SHA for fe07ce8
.github/workflows/docker-nginx-push.yml
@@ -28,8 +28,8 @@ jobs:
28
- name: Build the Docker image
29
run: |
30
cd nginx-image/
31
- docker build . --file Dockerfile --tag my-image-name:$(date +%s)
32
- docker tag my-image-name:$(date +%s) ${{ github.event.inputs.docker_username }}/my-image-name:latest
+ docker build . --file Dockerfile --tag my-image-name:$(date -I)
+ docker tag my-image-name:$(date -I) ${{ github.event.inputs.docker_username }}/my-image-name:latest
33
34
- name: Push the Docker image
35
run: docker push ${{ github.event.inputs.docker_username }}/my-image-name:latest
0 commit comments