Skip to content

Commit

Permalink
Merge pull request #35 from opensafely-core/steve/compress-docker-ima…
Browse files Browse the repository at this point in the history
…ge-with-zstd

Compress Docker image with `zstd`
  • Loading branch information
StevenMaude authored May 30, 2024
2 parents 7ed414d + 828c239 commit 352bb72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:

- name: Save docker image
run: |
docker image save research-template | pigz --fast > /tmp/research-template.tar.gz
docker image save research-template | zstd --fast -o /tmp/research-template.tar.zst
- name: Upload docker image
uses: actions/upload-artifact@v4
with:
name: research-template-image
path: /tmp/research-template.tar.gz
path: /tmp/research-template.tar.zst
# Disable compression; the file is already compressed
compression-level: 0

Expand All @@ -63,7 +63,7 @@ jobs:
path: /tmp/image

- name: Import Docker image
run: docker image load --input /tmp/image/research-template.tar.gz
run: docker image load --input /tmp/image/research-template.tar.zst

- name: Test Python installation
run: just test-python-install
Expand Down

0 comments on commit 352bb72

Please sign in to comment.