Skip to content

Publish all multi-arch Docker image versions #24

Publish all multi-arch Docker image versions

Publish all multi-arch Docker image versions #24

name: Publish all multi-arch Docker image versions
on:
workflow_dispatch:
inputs:
last_good_version:
description: 'Last version to skip'
required: false
type: string
jobs:
fetch_versions:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.versions.outputs.matrix }}
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v6
- id: versions
run: |
VERSIONS=$(python update.py ${{ inputs.last_good_version }} )
echo $VERSIONS
echo matrix=$VERSIONS >> "$GITHUB_OUTPUT"
call_build:
needs:
- fetch_versions
strategy:
max-parallel: 1
matrix: ${{ fromJson(needs.fetch_versions.outputs.matrix) }}
uses: ./.github/workflows/docker-publish.yml
with:
overpass_version: ${{ matrix.version}}
secrets:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}