Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Aug 30, 2024
1 parent c76833f commit 8691a0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ jobs:
name: Push To GHCR
run: |
buildah manifest inspect localhost/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
tac <<< '${{ steps.meta.outputs.tags }}' | xargs -I{} --max-args=1 buildah --log-level=trace manifest push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} --all localhost/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }} docker://{}
tac <<< 'ghcr.io/4m-mazi/gh-test:edge
ghcr.io/4m-mazi/gh-test:main' | parallel -j1 'echo "{}bar"'
tac <<< '${{ steps.meta.outputs.tags }}' \
| parallel --quote --jobs=1 'buildah --log-level=trace manifest push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} --all --digestfile="$RUNNER_TEMP/image-digest" localhost/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }} docker://{} && printf "\`\`\`\n{}@$(cat "$RUNNER_TEMP/image-digest")\n\`\`\`\n" >> "$GITHUB_STEP_SUMMARY"'

0 comments on commit 8691a0d

Please sign in to comment.