Skip to content

Commit

Permalink
change variable secrets.ECR to secrets.ECR_SHARED
Browse files Browse the repository at this point in the history
  • Loading branch information
adenntumba committed Oct 1, 2024
1 parent dd2bb5a commit 2bce979
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-mailroom-push-tag-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
push: true
tags: "${{env.IMAGE_TAG}}"
no-cache: true
outputs: type=image,name=${{ secrets.ECR }}/mailroom,push-by-digest=true,name-canonical=true,push=true
outputs: type=image,name=${{ secrets.ECR_SHARED }}/mailroom,push-by-digest=true,name-canonical=true,push=true

- name: Export digest
run: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
VERSION="${TAG}"
echo "VERSION=${VERSION}" | tee -a "${GITHUB_ENV}"
echo "COMMIT_SHA=$GITHUB_SHA" | tee -a "${GITHUB_ENV}"
echo "IMAGE_TAG=${{ secrets.ECR }}/mailroom:$TAG" | tee -a "${GITHUB_ENV}"
echo "IMAGE_TAG=${{ secrets.ECR_SHARED }}/mailroom:$TAG" | tee -a "${GITHUB_ENV}"
- name: Download digests
uses: actions/download-artifact@v4
with:
Expand All @@ -148,7 +148,7 @@ jobs:
working-directory: /tmp/digests
run: |
docker buildx imagetools create -t "${{ env.IMAGE_TAG }}" \
$(printf '${{ secrets.ECR }}/mailrom@sha256:%s ' *)
$(printf '${{ secrets.ECR_SHARED }}/mailrom@sha256:%s ' *)
- name: Check out Kubernetes Manifests
uses: actions/checkout@master
Expand Down

0 comments on commit 2bce979

Please sign in to comment.