Skip to content

Commit

Permalink
tryout cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ekneg54 committed Jan 4, 2025
1 parent bb1cb0c commit e926072
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -77,8 +79,8 @@ jobs:
PYTHON_VERSION=${{ matrix.python-version }}
tags: ${{ steps.image-tag.outputs.tags }}
platforms: "linux/arm64,linux/amd64"
cache-from: type=registry,ref=user/app:latest
cache-to: type=inline
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Extract image ID from sha256
id: imageid
Expand Down Expand Up @@ -107,8 +109,8 @@ jobs:
PYTHON_VERSION=${{ matrix.python-version }}
tags: ${{ steps.image-tag.outputs.tags }}
platforms: "linux/arm64,linux/amd64"
cache-from: type=registry,ref=user/app:latest
cache-to: type=inline
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Install Cosign
uses: sigstore/[email protected]
Expand Down

0 comments on commit e926072

Please sign in to comment.