mirror of
https://github.com/docker/bake-action.git
synced 2025-12-06 07:48:26 +08:00
Merge pull request #201 from crazy-max/ci-use-stable
ci: switch to stable buildkit image for load and push
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -459,9 +459,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
|
||||
# TODO: use buildx-stable-1 image when v0.13 promoted
|
||||
driver-opts: |
|
||||
image=moby/buildkit:v0.13.0
|
||||
network=host
|
||||
-
|
||||
name: Build and push
|
||||
@@ -504,23 +502,20 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
|
||||
# TODO: use buildx-stable-1 image when v0.13 promoted
|
||||
driver-opts: |
|
||||
image=moby/buildkit:v0.13.0
|
||||
network=host
|
||||
-
|
||||
name: Build and push
|
||||
uses: ./
|
||||
with:
|
||||
workdir: ./test/go
|
||||
targets: image
|
||||
load: true
|
||||
push: true
|
||||
set: |
|
||||
*.tags=localhost:5000/name/app:latest
|
||||
-
|
||||
name: Check registry
|
||||
# TODO: enable when --load case fixed (currently overrides --push)
|
||||
if: false
|
||||
run: |
|
||||
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user