Skip to content

Commit

Permalink
.github: handle docker archs with / when creating unique upload name
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Aug 2, 2024
1 parent 2496707 commit 3440ac2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ jobs:
id: digest
run: |
platform=${{ matrix.platform }}
arch="${platform#linux/}"
echo "arch=$arch" >> $GITHUB_OUTPUT
plat="${platform#linux/}"
arch="$(echo $plat | sed 's,/,,')"
echo "arch=$arch" >> $GITHUB_OUTPUT
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
fn="/tmp/digests/${digest#sha256:}"
Expand Down

0 comments on commit 3440ac2

Please sign in to comment.