Skip to content

Commit d9ca32d

Browse files
committed
fix: ci
1 parent 2dcae63 commit d9ca32d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
runs-on: ubuntu-latest
4646
needs: [build_app]
4747
steps:
48+
- name: Set up QEMU
49+
uses: docker/setup-qemu-action@v3
50+
- name: Set up Docker Buildx
51+
uses: docker/setup-buildx-action@v3
52+
4853
- name: Checkout
4954
uses: actions/checkout@v6
5055

@@ -62,11 +67,13 @@ jobs:
6267
password: ${{ secrets.GITHUB_TOKEN }}
6368

6469
- name: Build and (optionally) push image
65-
uses: docker/build-push-action@v5
70+
uses: docker/build-push-action@v6
6671
with:
6772
context: .
6873
file: dist.Dockerfile
6974
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
7075
tags: |
7176
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
77+
cache-from: type=gha
78+
cache-to: type=gha
7279
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)