@@ -55,15 +55,20 @@ jobs:
5555 uses : docker/build-push-action@v6
5656 with :
5757 push : ${{ github.event_name != 'pull_request' }}
58+ load : ${{ github.event_name == 'pull_request' }}
5859 provenance : false
5960 platforms : linux/arm64
6061 tags : ghcr.io/biomejs/biome:${{ matrix.versions.patch }}-arm64
6162 file : Dockerfile
6263 cache-from : type=gha,scope=${{ matrix.versions.patch}}-arm64
6364 cache-to : type=gha,mode=max,scope=${{ matrix.versions.patch}}-arm64
6465 build-args : |
66+ ARCH=arm64
6567 BIOME_VERSION=${{ matrix.versions.patch }}
6668 BIOME_TAG_START=${{ matrix.versions.major == '2' && '@biomejs/biome@' || 'cli/v' }}
69+ - name : Verify image
70+ run : |
71+ docker run --pull=never --rm ghcr.io/biomejs/biome:${{ matrix.versions.patch }}-arm64 --version
6772
6873 build-images-amd64 :
6974 name : ${{ matrix.versions.patch }} (amd64)
@@ -90,15 +95,20 @@ jobs:
9095 uses : docker/build-push-action@v6
9196 with :
9297 push : ${{ github.event_name != 'pull_request' }}
98+ load : ${{ github.event_name == 'pull_request' }}
9399 provenance : false
94100 platforms : linux/amd64
95101 tags : ghcr.io/biomejs/biome:${{ matrix.versions.patch }}-amd64
96102 file : Dockerfile
97103 cache-from : type=gha,scope=${{ matrix.versions.patch}}-amd64
98104 cache-to : type=gha,mode=max,scope=${{ matrix.versions.patch}}-amd64
99105 build-args : |
106+ ARCH=x64
100107 BIOME_VERSION=${{ matrix.versions.patch }}
101108 BIOME_TAG_START=${{ matrix.versions.major == '2' && '@biomejs/biome@' || 'cli/v' }}
109+ - name : Verify image
110+ run : |
111+ docker run --pull=never --rm ghcr.io/biomejs/biome:${{ matrix.versions.patch }}-amd64 --version
102112
103113 stitch-images :
104114 name : Stitch images (${{ matrix.versions.patch }})
0 commit comments