Skip to content

Commit

Permalink
update for actions/download-action behavior change
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Aug 25, 2023
1 parent 7adc52a commit 050669b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-test-and-push-linux-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
- name: Push multiarch manifest to Docker Hub
shell: bash --noprofile --norc -x -eo pipefail {0}
env:
tag: "${{ needs.build-test-and-upload.outputs.tag }}"
name: "${{ inputs.repo }}:${{ needs.build-test-and-upload.outputs.tag }}"
run: |
Expand All @@ -106,7 +107,7 @@ jobs:
for arch in "amd64" "arm64"; do
# Load the arch-specific image with the final name
docker load --input "${{ runner.temp }}/${arch}.tar";
docker load --input "${{ runner.temp }}/${tag}/${arch}.tar";
# Push the local image to the registry and save the remote hash
hashes+=("$(docker push ${name,,} | tail -n1 | cut -d' ' -f3)");
done
Expand Down

0 comments on commit 050669b

Please sign in to comment.