mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-06 09:47:38 +00:00
Merge branch 'main' into feature/swarm-nfs
# Conflicts: # .github/workflows/images-build-ci.yml # .github/workflows/images-mirror-all.yml # .github/workflows/images-mirror-missing.yml # .github/workflows/release-highest.yml # .github/workflows/release-version.yml
This commit is contained in:
commit
df8d6180dc
11 files changed
+18
-23
No files matched your search
@@ -76,7 +76,7 @@ jobs:
|
||||
|
||||
- name: 🔑 Login to GHCR for CI image checks
|
||||
if: ${{ env.WAIT_REQUIRED == 'true' }}
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
||||
@@ -96,12 +96,12 @@ jobs:
|
||||
run: bash scripts/github/runner/pull_with_retry.sh moby/buildkit:buildx-stable-1
|
||||
|
||||
- name: 🔧 Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
||||
with:
|
||||
driver-opts: image=moby/buildkit:buildx-stable-1
|
||||
|
||||
- name: 🔑 Login to GHCR
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
||||
@@ -63,7 +63,6 @@ jobs:
|
||||
name: 🪞 Mirror images
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Copy secrets into env so we can reference them in "if:" (env.* is allowed there)
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -95,16 +94,15 @@ jobs:
|
||||
- name: 📦 Install skopeo
|
||||
run: ./scripts/install/apt.sh skopeo
|
||||
|
||||
# Optional: Docker Hub login to avoid rate limits while mirroring
|
||||
- name: 🔑 Login to Docker Hub (optional)
|
||||
if: ${{ env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != '' }}
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
username: ${{ env.DOCKERHUB_USERNAME }}
|
||||
password: ${{ env.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: 🔑 Login to GHCR
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
||||
@@ -74,7 +74,6 @@ permissions:
|
||||
|
||||
concurrency:
|
||||
group: mirror-images-${{ github.repository }}-${{ inputs.concurrency_channel }}-${{ inputs.concurrency_key || github.ref_name }}
|
||||
# Cancel scheduled Mirror sync, because may it works with outdatet mirror lists
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
@@ -82,7 +81,6 @@ jobs:
|
||||
name: 🪞 Mirror images
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Copy secrets/inputs into env so we can reference them in "if:" (env.* is allowed there)
|
||||
env:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -125,16 +123,15 @@ jobs:
|
||||
- name: 📦 Install skopeo
|
||||
run: ./scripts/install/apt.sh skopeo
|
||||
|
||||
# Optional: Docker Hub login to avoid rate limits while mirroring
|
||||
- name: 🔑 Login to Docker Hub (optional)
|
||||
if: ${{ env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != '' && !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
username: ${{ env.DOCKERHUB_USERNAME }}
|
||||
password: ${{ env.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: 🔑 Login to GHCR
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: 🔑 Login to GHCR (for manifest checks)
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
run: _helpers/scripts/meta/resolve/publish_latest.sh
|
||||
|
||||
- name: 🔑 Login to GHCR (manifest checks)
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -146,12 +146,12 @@ jobs:
|
||||
run: bash scripts/github/runner/pull_with_retry.sh moby/buildkit:buildx-stable-1
|
||||
|
||||
- name: 🔧 Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
||||
with:
|
||||
driver-opts: image=moby/buildkit:buildx-stable-1
|
||||
|
||||
- name: 🔑 Login to GHCR
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
|
||||
Reference in new issue
Block a user