File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,17 @@ jobs:
6464
6565 - name : Load images and create manifest
6666 run : |
67- # Load all arch images
68- buildah pull oci-archive:oadp-cli-image-amd64/oadp-cli-amd64.tar
69- buildah pull oci-archive:oadp-cli-image-arm64/oadp-cli-arm64.tar
70- buildah pull oci-archive:oadp-cli-image-ppc64le/oadp-cli-ppc64le.tar
71- buildah pull oci-archive:oadp-cli-image-s390x/oadp-cli-s390x.tar
72-
73- # Tag them for manifest
74- buildah tag localhost/oadp-cli-binaries-local:amd64 ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-amd64
75- buildah tag localhost/oadp-cli-binaries-local:arm64 ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-arm64
76- buildah tag localhost/oadp-cli-binaries-local:ppc64le ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-ppc64le
77- buildah tag localhost/oadp-cli-binaries-local:s390x ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-s390x
67+ # Load all arch images and capture their IDs
68+ AMD64_ID=$( buildah pull oci-archive:oadp-cli-image-amd64/oadp-cli-amd64.tar)
69+ ARM64_ID=$( buildah pull oci-archive:oadp-cli-image-arm64/oadp-cli-arm64.tar)
70+ PPC64LE_ID=$( buildah pull oci-archive:oadp-cli-image-ppc64le/oadp-cli-ppc64le.tar)
71+ S390X_ID=$( buildah pull oci-archive:oadp-cli-image-s390x/oadp-cli-s390x.tar)
72+
73+ # Tag the loaded images using their IDs
74+ buildah tag $AMD64_ID ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-amd64
75+ buildah tag $ARM64_ID ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-arm64
76+ buildah tag $PPC64LE_ID ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-ppc64le
77+ buildah tag $S390X_ID ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-s390x
7878
7979 - name : Buildah login
8080 run : buildah login -u ${{ secrets.QUAY_USER }} -p ${{ secrets.QUAY_TOKEN }} quay.io
You can’t perform that action at this time.
0 commit comments