Skip to content

Commit

Permalink
CD: Fix tag prod image without pulling
Browse files Browse the repository at this point in the history
  • Loading branch information
mzukowski-reef committed Sep 10, 2024
1 parent 4de913b commit 685f30e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
IMAGE_NAME="${DOCKER_REPO_NAME}:${TAG_VERSION}"
SHA_IMAGE_NAME="${STAGING_DOCKER_REPO_NAME}:git-${GITHUB_SHA}"
docker image tag "${SHA_IMAGE_NAME}" "${IMAGE_NAME}"
echo "${{ secrets.DOCKERHUB_KEY }}" | docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
docker image tag "${SHA_IMAGE_NAME}" "${IMAGE_NAME}"
docker push "${IMAGE_NAME}"
- name: Get current date
id: date
Expand Down

0 comments on commit 685f30e

Please sign in to comment.