mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-12 19:48:13 -05:00
update docker-publish.yml
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
This commit is contained in:
parent
68d42a514f
commit
b3339f7fe0
17
.github/workflows/docker-publish.yml
vendored
17
.github/workflows/docker-publish.yml
vendored
@ -33,7 +33,17 @@ jobs:
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
driver-opts: |
|
||||
image=moby/buildkit:latest
|
||||
image=moby/buildkit:master
|
||||
network=host
|
||||
|
||||
# Add free disk space
|
||||
- name: Free Disk Space
|
||||
run: |
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo rm -rf /usr/local/lib/android
|
||||
sudo rm -rf /opt/ghc
|
||||
sudo rm -rf /opt/hostedtoolcache/CodeQL
|
||||
sudo docker image prune -af
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
@ -77,7 +87,12 @@ jobs:
|
||||
${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:${{ steps.get_version.outputs.version }}
|
||||
build-args: |
|
||||
BUILDKIT_INLINE_CACHE=1
|
||||
BUILDKIT_MULTI_PLATFORM=1
|
||||
DOCKER_BUILDKIT=1
|
||||
provenance: false
|
||||
outputs: type=registry,push=true
|
||||
allow: |
|
||||
network.host
|
||||
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@v3.4.0
|
||||
|
Loading…
Reference in New Issue
Block a user