Skip to content

Commit 56208ab

Browse files
authored
Update docker-image.yml
1 parent c478e6c commit 56208ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
echo "docker_version=$(docker version --format '{{.Client.APIVersion}}')" >> $GITHUB_ENV
3333
tag=$(date +%s)
3434
echo "tag=$tag" >> $GITHUB_ENV
35-
if docker build . --file Containerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/ci-kpi:$tag; then
35+
if docker build . --file Containerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/ci-kpi:latest; then
3636
echo "result=true" >> $GITHUB_ENV
3737
else
3838
echo "result=false" >> $GITHUB_ENV
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Push Docker image
4343
run: |
44-
docker push ${{ secrets.DOCKERHUB_USERNAME }}/ci-kpi:$tag
44+
docker push ${{ secrets.DOCKERHUB_USERNAME }}/ci-kpi:latest
4545
4646
- name: Send CI KPI
4747
run: |

0 commit comments

Comments
 (0)