diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index af10f48..75091c3 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -21,7 +21,7 @@ jobs: - name: Build Docker Image run: - docker build . --tag $DOCKER_REPOSITORY/$IMAGE_NAME:$GITHUB_RUN_NUMBER --no-cache + docker build . --tag $DOCKER_REPOSITORY/$IMAGE_NAME:$GITHUB_RUN_NUMBER --tag $DOCKER_REPOSITORY/$IMAGE_NAME:latest --no-cache - name: Login to Docker Hub run: | @@ -29,4 +29,4 @@ jobs: - name: Push Image to Docker Hub run: - docker push $DOCKER_REPOSITORY/$IMAGE_NAME:$GITHUB_RUN_NUMBER + docker push $DOCKER_REPOSITORY/$IMAGE_NAME --all-tags