Skip to content

Commit

Permalink
Add digest to image name when deploying to beta/prod environments
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Feb 2, 2025
1 parent 9501500 commit 1863229
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,10 @@ jobs:


deploy-to-beta:
needs: [setup, approve-deployment-to-beta]
needs: [setup, build-image, approve-deployment-to-beta]
uses: ./.github/workflows/sub_deploy_to_beta.yml
with:
IMAGE_TAG: ${{ needs.setup.outputs.image_tag }}
IMAGE_TAG: ${{ needs.setup.outputs.image_tag }}@sha256:${{ needs.build-image.outputs.digest }}
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}

Expand Down Expand Up @@ -478,10 +478,10 @@ jobs:


deploy-to-prod:
needs: [setup, approve-deployment-to-prod]
needs: [setup, build-image, approve-deployment-to-prod]
uses: ./.github/workflows/sub_deploy_to_prod.yml
with:
IMAGE_TAG: ${{ needs.setup.outputs.image_tag }}
IMAGE_TAG: ${{ needs.setup.outputs.image_tag }}@sha256:${{ needs.build-image.outputs.digest }}
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}

Expand Down

0 comments on commit 1863229

Please sign in to comment.