Skip to content

Commit

Permalink
Merge pull request #201 from crazy-max/ci-use-stable
Browse files Browse the repository at this point in the history
ci: switch to stable buildkit image for load and push
  • Loading branch information
crazy-max authored Apr 22, 2024
2 parents 75d6ba2 + dc55797 commit b6cc37d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 .}}'
-
Expand Down

0 comments on commit b6cc37d

Please sign in to comment.