Skip to content

Commit

Permalink
use multi-arch push
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 7, 2024
1 parent 3da7460 commit 56d735f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ jobs:
TARGET_ARCHITECTURE=${{ matrix.epics-target }}
EPICS_HOST_ARCH=${{ matrix.epics-host }}
BASE_IMAGE=${{ matrix.base_image }}
tags: ${{ env.TAG }}
cache-from: type=gha,scope=${{ matrix.epics-target }}
cache-to: type=gha,mode=max,scope=${{ matrix.epics-target }}
load: true
outputs: type=image,name=${{ env.TAG }},push-by-digest=true,name-canonical=true,load=true

- name: Push image
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
Expand All @@ -87,5 +86,4 @@ jobs:
TARGET_ARCHITECTURE=${{ matrix.epics-target }}
EPICS_HOST_ARCH=${{ matrix.epics-host }}
BASE_IMAGE=${{ matrix.base_image }}
tags: ${{ env.TAG }}
push: true
outputs: type=image,name=${{ env.TAG }},push-by-digest=true,name-canonical=true,push=true

0 comments on commit 56d735f

Please sign in to comment.