Skip to content

Commit 9d251bc

Browse files
authored
ci: arm runner, no cache, skip docker cleanup
1 parent b898fd1 commit 9d251bc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/__package.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
168168
docker:
169169
name: Docker image for ${{ matrix.platform }} 💿🐳
170-
runs-on: ubuntu-latest
170+
runs-on: ${{ contains(matrix.platform, 'arm') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
171171
needs: docker_inputs
172172
strategy:
173173
fail-fast: false
@@ -189,6 +189,9 @@ jobs:
189189

190190
- name: Configure Docker Buildx ⚙️
191191
uses: docker/setup-buildx-action@v3.8.0
192+
with:
193+
cleanup: false
194+
version: latest
192195

193196
- name: Build images 🛠️
194197
uses: docker/build-push-action@v6.13.0
@@ -197,11 +200,9 @@ jobs:
197200
context: .
198201
file: packaging/docker/Dockerfile
199202
platforms: ${{ format('linux/{0}', matrix.platform) }}
200-
cache-from: |
201-
type=gha,scope=buildx-${{ matrix.platform }}
203+
no-cache: true
202204
cache-to: |
203205
type=local,mode=min,dest=/tmp/${{ env.REGISTRY_IMAGE }}/cache/${{ matrix.platform }}
204-
type=gha,mode=min,ignore-error=true,scope=buildx-${{ matrix.platform }}
205206
outputs: type=docker,dest=docker_image.tar
206207
build-args: |
207208
${{ inputs.commit == '' && 'IS_STABLE=1' || '' }}
@@ -295,6 +296,9 @@ jobs:
295296

296297
- name: Configure Docker Buildx ⚙️
297298
uses: docker/setup-buildx-action@v3.8.0
299+
with:
300+
cleanup: false
301+
version: latest
298302

299303
- name: Login to Docker Hub 🔑
300304
uses: docker/login-action@v3.3.0

0 commit comments

Comments
 (0)