Skip to content

Commit

Permalink
Add workflow to test multiple compression formats
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jul 10, 2024
1 parent c270a97 commit b8e61cc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,25 @@ jobs:
run: |
RAW_MANIFEST=$(skopeo inspect --raw docker://${REGISTRY}/${IMAGE}:${MANIFEST_TAG} | jq -r .)
echo "Raw Manifest: $RAW_MANIFEST"
test-multi-format:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build Sample Image
working-directory: test
run: podman build -t sample-image:local .

- name: Push (Multiple)
uses: ./
id: push
with:
local-image-ref: sample-image:local
image: sample-image
manifest-tags: ${{ github.sha }}-${{ github.run_number }}
registry: ghcr.io/${{ github.repository }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
compression-formats: gzip zstd:chunked

0 comments on commit b8e61cc

Please sign in to comment.