diff --git a/.github/workflows/cd-prod.yml b/.github/workflows/cd-prod.yml index 148d12c..8988978 100644 --- a/.github/workflows/cd-prod.yml +++ b/.github/workflows/cd-prod.yml @@ -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