Skip to content

Commit

Permalink
ci(image): fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Aug 20, 2024
1 parent 34f0992 commit 4320adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
run: |
newcontainer=$(buildah from --platform=linux/amd64 scratch)
buildah copy $newcontainer ./artifact/x86_64-unknown-linux-musl/${{ needs.env.outputs.BINARY_NAME }} /${{ needs.env.outputs.BINARY_NAME }}
buildah config --entrypoint="./${{ needs.env.outputs.BINARY_NAME }}" $newcontainer
buildah config --entrypoint='["./${{ needs.env.outputs.BINARY_NAME }}"]' $newcontainer
buildah config --author="Mogyuchi" $(awk '{print "--label=" $0}' <<< "${{ steps.meta.outputs.labels }}") $newcontainer
buildah inspect $newcontainer
Expand All @@ -156,7 +156,7 @@ jobs:
run: |
newcontainer=$(buildah from --platform=linux/arm64 scratch)
buildah copy $newcontainer ./artifact/aarch64-unknown-linux-musl/${{ needs.env.outputs.BINARY_NAME }} /${{ needs.env.outputs.BINARY_NAME }}
buildah config --entrypoint="./${{ needs.env.outputs.BINARY_NAME }}" $newcontainer
buildah config --entrypoint='["./${{ needs.env.outputs.BINARY_NAME }}"]' $newcontainer
buildah config --author="Mogyuchi" $(awk '{print "--label=" $0}' <<< "${{ steps.meta.outputs.labels }}") $newcontainer
buildah inspect $newcontainer
Expand Down

0 comments on commit 4320adb

Please sign in to comment.