All checks were successful
/ build-image (push) Successful in 18m50s
https://github.com/containers/storage/blob/main/docs/containers-storage-zstd-chunked.md [9a5c0986a4a33feea7cc2d956928ed0149b32d9a]: "zstd:chunked is a variant of the application/vnd.oci.image.layer.v1.tar+zstd media type that uses zstd skippable frames to include additional metadata (especially a "table of contents") that includes the SHA-256 and offsets of individual chunks of files. Additionally chunks are compressed separately. This allows a client to dynamically fetch only content which it doesn't already have using HTTP range requests."
12 lines
718 B
YAML
12 lines
718 B
YAML
on: [push]
|
|
jobs:
|
|
build-image:
|
|
runs-on: shell
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cd ${{ env.GITHUB_WORKSPACE }}
|
|
- run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }}
|
|
- run: podman build . --no-cache --pull=always --squash-all -t ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
|
- run: podman push --compression-format=zstd:chunked --compression-level=20 ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40 ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
|
- if: '!cancelled()'
|
|
run: podman image rm -f ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40 && podman image prune -f
|