ci(docker): add buildx cache for PR smoke on blacksmith (#695)
This commit is contained in:
parent
b45c7ce96a
commit
d5feba3fe0
1 changed files with 7 additions and 0 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
|
@ -28,6 +28,7 @@ jobs:
|
||||||
runs-on: blacksmith-2vcpu-ubuntu-2404
|
runs-on: blacksmith-2vcpu-ubuntu-2404
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
permissions:
|
permissions:
|
||||||
|
actions: write
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -50,9 +51,15 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
|
provenance: false
|
||||||
|
sbom: false
|
||||||
tags: zeroclaw-pr-smoke:latest
|
tags: zeroclaw-pr-smoke:latest
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
cache-from: |
|
||||||
|
type=gha,scope=zeroclaw-docker-smoke
|
||||||
|
cache-to: |
|
||||||
|
type=gha,mode=max,scope=zeroclaw-docker-smoke
|
||||||
|
|
||||||
- name: Verify image
|
- name: Verify image
|
||||||
run: docker run --rm zeroclaw-pr-smoke:latest --version
|
run: docker run --rm zeroclaw-pr-smoke:latest --version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue