Change compression format to zstd:chunked
Updated compression format in Skopeo push step.
This commit is contained in:
@@ -99,7 +99,7 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Push to GHCR via Skopeo (with ZSTD Compression)
|
- name: Push to GHCR via Skopeo (with zstd:chunked compression)
|
||||||
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
@@ -107,11 +107,11 @@ jobs:
|
|||||||
export REGISTRY_AUTH_FILE=$HOME/.docker/config.json
|
export REGISTRY_AUTH_FILE=$HOME/.docker/config.json
|
||||||
REGISTRY_PATH="${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}"
|
REGISTRY_PATH="${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}"
|
||||||
|
|
||||||
# Nutzt das bewährte podman unshare, um den lokalen Storage fehlerfrei auszulesen
|
# Nutzt das native OCI zstd:chunked Format für optimierte Delta-Updates
|
||||||
podman unshare bash -c "
|
podman unshare bash -c "
|
||||||
for tag in ${{ steps.metadata.outputs.tags }}; do
|
for tag in ${{ steps.metadata.outputs.tags }}; do
|
||||||
skopeo copy \
|
skopeo copy \
|
||||||
--dest-compress-format=zstd \
|
--dest-compress-format=zstd:chunked \
|
||||||
--dest-compress-level=5 \
|
--dest-compress-level=5 \
|
||||||
containers-storage:localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }} \
|
containers-storage:localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }} \
|
||||||
docker://$REGISTRY_PATH:\$tag
|
docker://$REGISTRY_PATH:\$tag
|
||||||
|
|||||||
Reference in New Issue
Block a user