add --provenance false to avoid $IMAGE is a manifest list error

This commit is contained in:
Grant Limberg 2026-03-04 11:58:43 -08:00
parent e918ec44d5
commit a2340bf60c
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
2 changed files with 1 additions and 4 deletions

View file

@ -34,7 +34,7 @@ jobs:
- name: Build & Push Docker Image
run: |
docker build --no-cache -t registry.zerotier.com/zerotier-central/ztcentral-controller:${{ env.COMMIT_SHORT_SHA }}-${{ steps.branch.outputs.branch_name }}-${{ runner.arch }} -f ext/central-controller-docker/Dockerfile . --push
docker build --provenance false --no-cache -t registry.zerotier.com/zerotier-central/ztcentral-controller:${{ env.COMMIT_SHORT_SHA }}-${{ steps.branch.outputs.branch_name }}-${{ runner.arch }} -f ext/central-controller-docker/Dockerfile . --push
multi-arch-docker:
runs-on: gha-runner-x64

View file

@ -472,9 +472,6 @@ central-controller-docker: _buildx FORCE
docker buildx build --platform linux/amd64,linux/arm64 --no-cache -t registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=`git name-rev --name-only HEAD` . --push
@echo Image: registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}
central-controller-docker-X64: FORCE
docker build --platform linux/amd64 --no-cache -t registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}-amd64 -f ext/central-controller-docker/Dockerfile . --push
debug: FORCE
make ZT_DEBUG=1 one
make ZT_DEBUG=1 selftest