Skip to content

feat: add kubernetes 1.31.3 images #858

feat: add kubernetes 1.31.3 images

feat: add kubernetes 1.31.3 images #858

Workflow file for this run

name: "Dry run"
on:
push:
paths:
- '.github/workflows/dry.yml'
- '.github/workflows/sync.yml'
- 'modules/**'
- '!README.md'
- '!single_sync.sh'
- '!single_sync_v2.sh'
- 'single_sync_v3.sh'
jobs:
fetch_modules_to_sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set output
id: set_output
run: |
MODULES_TO_SYNC_JSON=$(find modules -type d -mindepth 1 -maxdepth 1 | cut -d/ -f2 | sort | jq -R | jq -cs . )
echo "MODULES_TO_SYNC_JSON=${MODULES_TO_SYNC_JSON}" >> $GITHUB_OUTPUT
outputs:
modules_to_sync: ${{ steps.set_output.outputs.MODULES_TO_SYNC_JSON }}
sync:
runs-on: ubuntu-latest
needs: fetch_modules_to_sync
strategy:
fail-fast: false
matrix:
module: ${{ fromJson(needs.fetch_modules_to_sync.outputs.modules_to_sync) }}
steps:
- uses: actions/checkout@master
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Login to SIGHUP new Registry
uses: docker/login-action@v3
with:
registry: registry.sighup.io
username: ${{ secrets.SIGHUP_REGISTRY_USERNAME }}
password: ${{ secrets.SIGHUP_REGISTRY_PASSWORD }}
- name: Install yq
run: |
sudo apt-get update && sudo apt-get install -yqq wget
sudo wget -q https://github.com/mikefarah/yq/releases/download/v4.19.1/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq
- name: Iterate
run: |
yq --version
docker run --rm quay.io/skopeo/stable:v1.13 --version
./single_sync_v3.sh modules/${{ matrix.module }}/images.yml true