mirror docker/build-push-action@v6

This commit is contained in:
action-mirror
2026-09-13 22:53:17 +08:00
parent bae744bbe6
commit 88c60f4d61
32 changed files with 4405 additions and 3714 deletions
+8 -4
View File
@@ -27,9 +27,9 @@ on:
type: string
env:
HARBOR_VERSION: v2.7.0
HARBOR_VERSION: v2.13.2
NEXUS_VERSION: 3.47.1
DISTRIBUTION_VERSION: 2.8.1
DISTRIBUTION_VERSION: 3.0.0
jobs:
run:
@@ -38,6 +38,9 @@ jobs:
fail-fast: false
matrix:
include:
-
buildx_version: edge
buildkit_image: moby/buildkit:latest
-
buildx_version: latest
buildkit_image: moby/buildkit:buildx-stable-1
@@ -47,7 +50,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up env
if: inputs.type == 'local'
@@ -65,10 +68,11 @@ jobs:
if: inputs.type == 'local'
run: |
if [ ! -e /etc/docker/daemon.json ]; then
echo '{}' | tee /etc/docker/daemon.json >/dev/null
echo '{}' | sudo tee /etc/docker/daemon.json >/dev/null
fi
DOCKERD_CONFIG=$(jq '.+{"insecure-registries":["http://${{ env.REGISTRY_FQDN }}"]}' /etc/docker/daemon.json)
sudo tee /etc/docker/daemon.json <<<"$DOCKERD_CONFIG" >/dev/null
cat /etc/docker/daemon.json
sudo service docker restart
-
name: Install ${{ inputs.name }}