Skip to content

Commit

Permalink
fix env var
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibinger committed Jan 29, 2025
1 parent 78e0348 commit a125b5d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/images-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
push: true
platforms: linux/amd64
tags: |
${{ steps.login-ecr.outputs.registry }}/${ env.REGISTRY_ALIAS }/${{ matrix.image }}:sha-${{ github.sha }}-amd64
${{ steps.login-ecr.outputs.registry }}/${{ env.REGISTRY_ALIAS }}/${{ matrix.image }}:sha-${{ github.sha }}-amd64
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
push: true
platforms: linux/arm64
tags: |
${{ steps.login-ecr.outputs.registry }}/${ env.REGISTRY_ALIAS }/${{ matrix.image }}:sha-${{ github.sha }}-arm64
${{ steps.login-ecr.outputs.registry }}/${{ env.REGISTRY_ALIAS }}/${{ matrix.image }}:sha-${{ github.sha }}-arm64
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down Expand Up @@ -142,8 +142,8 @@ jobs:

- name: Create and Push Multi-Architecture Manifest
run: |
docker manifest create ${{ steps.login-ecr.outputs.registry }}/${ env.REGISTRY_ALIAS }/${{ matrix.image }}:sha-${{ github.sha }} \
--amend ${{ steps.login-ecr.outputs.registry }}/${ env.REGISTRY_ALIAS }/${{ matrix.image }}:sha-${{ github.sha }}-amd64 \
--amend ${{ steps.login-ecr.outputs.registry }}/${ env.REGISTRY_ALIAS }/${{ matrix.image }}:sha-${{ github.sha }}-arm64
docker manifest create ${{ steps.login-ecr.outputs.registry }}/${{ env.REGISTRY_ALIAS }}/${{ matrix.image }}:sha-${{ github.sha }} \
--amend ${{ steps.login-ecr.outputs.registry }}/${{ env.REGISTRY_ALIAS }}/${{ matrix.image }}:sha-${{ github.sha }}-amd64 \
--amend ${{ steps.login-ecr.outputs.registry }}/${{ env.REGISTRY_ALIAS }}/${{ matrix.image }}:sha-${{ github.sha }}-arm64
docker manifest push ${{ steps.login-ecr.outputs.registry }}/${ env.REGISTRY_ALIAS }/${{ matrix.image }}:sha-${{ github.sha }}
docker manifest push ${{ steps.login-ecr.outputs.registry }}/${{ env.REGISTRY_ALIAS }}/${{ matrix.image }}:sha-${{ github.sha }}

0 comments on commit a125b5d

Please sign in to comment.