Skip to content

Commit a3d7ec9

Browse files
committed
Compress container with zstd which is way faster than gzip (both for compression
and extraction)
1 parent dc35a5b commit a3d7ec9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-build-action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828

2929
jobs:
3030
buildx:
31-
runs-on:
31+
runs-on:
3232
group: aws-highmemory-32-plus-priv
3333
steps:
3434
- name: Check out
@@ -56,6 +56,6 @@ jobs:
5656
context: ${{ inputs.context }}
5757
build-args: ${{ inputs.build_args }}
5858
target: base
59-
file: ${{ inputs.context }}/${{ inputs.dockerfile }}
59+
outputs: type=image,compression=zstd,force-compression=true,push=true
60+
file: ${{ inputs.context }}/${{ inputs.dockerfile }}
6061
tags: ${{ inputs.repository }}/${{ inputs.image }}:sha-${{ env.GITHUB_SHA_SHORT }},${{ inputs.repository }}/${{ inputs.image }}:latest
61-

0 commit comments

Comments
 (0)