Bump debian from bookworm-20240812-slim to bookworm-20240904-slim #393
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Pull Request | |
on: | |
# Enable manual running of action if necessary | |
workflow_dispatch: | |
# Build and test deployment the image on pushes to main branch | |
pull_request: | |
# Only publish on push to main branch | |
branches: | |
- main | |
# Only run if the PR yaml has changed or a Dockerfile has changed | |
paths: | |
- Dockerfile** | |
- "**on_pr.yml" | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
hadolint: | |
name: Run hadolint against docker files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Pull hadolint/hadolint:latest Image | |
run: docker pull hadolint/hadolint:latest | |
- name: Run hadolint against Dockerfiles | |
run: docker run --rm -i -v "$PWD":/workdir --workdir /workdir --entrypoint hadolint hadolint/hadolint --ignore DL3003 --ignore DL3006 --ignore DL3010 --ignore DL4001 --ignore DL3007 --ignore DL3008 --ignore SC2068 --ignore DL3007 --ignore SC1091 --ignore DL3013 --ignore DL3010 $(find . -type f -iname "Dockerfile*") | |
deploy_ghcr_base: | |
name: Test deploy base to ghcr.io | |
# Define any dependent steps | |
needs: [hadolint] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.base | |
TAG: base | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
with: | |
files: | | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_ghcr_mlat_client: | |
name: Test MLAT Client to ghcr.io | |
# Define any dependent steps | |
needs: [hadolint] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.mlatclient | |
TAG: mlatclient | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
with: | |
files: | | |
Dockerfile.mlatclient | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_ghcr_python: | |
name: Test deploy python to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_base] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.python | |
TAG: python | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.python | |
Dockerfile.base | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_ghcr_rtlsdr: | |
name: Test deploy rtlsdr to ghcr.io | |
needs: [deploy_ghcr_base] | |
env: | |
DOCKERFILE: Dockerfile.rtlsdr | |
TAG: rtlsdr | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.rtlsdr | |
Dockerfile.base | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_ghcr_readsb-netonly: | |
name: Test deploy readsb-netonly to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_base] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.readsb-netonly | |
TAG: readsb-netonly | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.readsb-netonly | |
Dockerfile.base | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_ghcr_readsb-full: | |
name: Test deploy readsb-full to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_base, deploy_ghcr_rtlsdr] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.readsb-full | |
TAG: readsb-full | |
permissions: | |
contents: read | |
packages: write | |
runs-on: ubuntu-latest | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.readsb-full | |
Dockerfile.base | |
Dockerfile.rtlsdr | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.rtlsdr | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_ghcr_acars-decoder: | |
name: Test deploy acars-decoder to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_base, deploy_ghcr_rtlsdr] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.acars-decoder | |
TAG: acars-decoder | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.acars-decoder | |
Dockerfile.base | |
Dockerfile.rtlsdr | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.rtlsdr | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_soapyrtlsdr: | |
name: Test deploy soapyrtlsdr to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_rtlsdr] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.soapyrtlsdr | |
TAG: soapyrtlsdr | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.soapyrtlsdr | |
Dockerfile.base | |
Dockerfile.rtlsdr | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.rtlsdr | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push Dockerfile (only push if this action was NOT triggered by a PR) | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_dump978-full: | |
name: Test deploy dump978-full to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_soapyrtlsdr] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.dump978-full | |
TAG: dump978-full | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
with: | |
files: | | |
Dockerfile.dump978-full | |
Dockerfile.base | |
Dockerfile.rtlsdr | |
Dockerfile.soapyrtlsdr | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.soapyrtlsdr | |
Dockerfile.base | |
Dockerfile.rtlsdr | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Build & Push ghcr.io/sdr-enthusiasts/docker-baseimage:dump978-full | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ./Dockerfile.dump978-full | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_wreadsb: | |
name: Test deploy wreadsb to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_rtlsdr] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.wreadsb | |
TAG: wreadsb | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
with: | |
files: | | |
Dockerfile.wreadsb | |
Dockerfile.base | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Build & Push ghcr.io/sdr-enthusiasts/docker-baseimage:wreadsb | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
deploy_qemu: | |
name: Test deploy qemu to ghcr.io | |
# Define any dependent steps | |
needs: [deploy_ghcr_base] | |
# Define dockerfile and image tag | |
env: | |
DOCKERFILE: Dockerfile.qemu | |
TAG: qemu | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# Define output (used to clean-up PR images pushed to ghcr.io) | |
outputs: | |
cleanupinfo: ${{ steps.set-output.outputs.cleanupinfo }} | |
steps: | |
# Check out our code | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
# List of files to check to trigger a rebuild on this job | |
- name: Get specific changed files | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles below the ${{ env.DOCKERFILE }} entry, one per line | |
with: | |
files: | | |
Dockerfile.qemu | |
Dockerfile.base | |
- name: Get changed status of parent | |
id: changed-files-parent | |
uses: tj-actions/changed-files@v44.5.7 | |
# Add dependent dockerfiles, one per line | |
with: | |
files: | | |
Dockerfile.base | |
# Log into ghcr (so we can push images) | |
- name: Login to ghcr.io | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/login-action@v3.3.0 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Get metadata from repo | |
- name: Extract metadata (tags, labels) for Docker | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: meta | |
uses: docker/metadata-action@v5.5.1 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
# Set up QEMU for multi-arch builds | |
- name: Set up QEMU | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/setup-qemu-action@v3.2.0 | |
# Patch dockerfile to pull from PR-generated image | |
- name: Patch dockerfile | |
if: steps.changed-files-parent.outputs.any_changed == 'true' | |
id: patch-dockerfile | |
env: | |
SED_SEARCH: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
SED_TO_APPEND: -test-pr | |
run: | | |
set -x | |
sed -i "/^FROM ${SED_SEARCH//\//\\/}/ s/$/${SED_TO_APPEND}/" "$DOCKERFILE" | |
grep '^FROM ' "$DOCKERFILE" | |
# Set up buildx for multi platform builds | |
- name: Set up Docker Buildx | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
# Build & Push | |
- name: Test Build & Push ${{ env.IMAGE_NAME }}:${{ env.TAG }} | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
uses: docker/build-push-action@v6.7.0 | |
with: | |
context: . | |
file: ${{ env.DOCKERFILE }} | |
no-cache: true | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
push: true | |
# Append "-test-pr-XXX" to image name | |
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}-test-pr | |
labels: ${{ steps.meta.outputs.labels }} | |
# Set output variable for dynamic matrix in clean-up steps | |
- name: Set clean-up info | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
id: set-output | |
run: echo "cleanupinfo=$TAG" >> $GITHUB_OUTPUT | |
trigger_build_sdr-enthusiasts_docker-readsb-protobuf: | |
name: Trigger deploy of sdr-enthusiasts/docker-readsb-protobuf | |
needs: [deploy_ghcr_readsb-full] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-readsb-protobuf | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-radarbox: | |
name: Trigger deploy of sdr-enthusiasts/docker-radarbox | |
needs: [deploy_qemu, deploy_ghcr_mlat_client] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-radarbox | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
WORKFLOW_USE_TEST_IMAGE: true | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_beast-splitter: | |
name: Trigger deploy of sdr-enthusiasts/docker-beast-splitter | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-beast-splitter | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-flightradar24: | |
name: Trigger deploy of sdr-enthusiasts/docker-flightradar24 | |
needs: [deploy_qemu] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-flightradar24 | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-radarvirtuel: | |
name: Trigger deploy of sdr-enthusiasts/docker-radarvirtuel | |
needs: [deploy_ghcr_python, deploy_ghcr_mlat_client] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-radarvirtuel | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-tar1090: | |
name: Trigger deploy of sdr-enthusiasts/docker-tar1090 | |
needs: [deploy_wreadsb, deploy_ghcr_mlat_client] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-tar1090 | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-dump978: | |
name: Trigger deploy of sdr-enthusiasts/docker-dump978 | |
needs: [deploy_dump978-full] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-dump978 | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-piaware: | |
name: Trigger deploy of sdr-enthusiasts/docker-piaware | |
needs: [deploy_dump978-full] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-piaware | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_adsbexchange: | |
name: Trigger deploy of sdr-enthusiasts/docker-adsbexchange | |
needs: [deploy_ghcr_python, deploy_ghcr_mlat_client] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-adsbexchange | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-adsbexchange" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_adsbhub: | |
name: Trigger deploy of sdr-enthusiasts/docker-adsbhub | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-adsbhub | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-adsbhub" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_opensky_network: | |
name: Trigger deploy of sdr-enthusiasts/docker-opensky-network | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-opensky-network | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-opensky-network" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_planefinder: | |
name: Trigger deploy of sdr-enthusiasts/docker-planefinder | |
needs: [deploy_qemu] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-planefinder | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-planefinder" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_rtlsdrairband: | |
name: Trigger deploy of sdr-enthusiasts/docker-rtlsdrairband | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-rtlsdrairband | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-rtlairband" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_acars_router: | |
name: Trigger deploy of sdr-enthusiasts/acars_router | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/acars_router | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-acarsdec: | |
name: Trigger deploy of sdr-enthusiasts/docker-acarsdec | |
needs: [deploy_ghcr_acars-decoder] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-acarsdec | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-dumpvdl2: | |
name: Trigger deploy of sdr-enthusiasts/docker-dumpvdl2 | |
needs: [deploy_ghcr_acars-decoder] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-dumpvdl2 | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-vdlm2dec: | |
name: Trigger deploy of sdr-enthusiasts/docker-vdlm2dec | |
needs: [deploy_ghcr_acars-decoder] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-vdlm2dec | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-dumphfdl: | |
name: Trigger deploy of sdr-enthusiasts/docker-dumphfdl | |
needs: [deploy_ghcr_acars-decoder] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-dumphfdl | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_docker-acarshub-baseimage: | |
name: Trigger deploy of sdr-enthusiasts/docker-acarshub | |
needs: [deploy_ghcr_python] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-acarshub | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-baseimage" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_airspy_adsb: | |
name: Trigger deploy of sdr-enthusiasts/airspy_adsb | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/adsb_airspy | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/adsb_airspy" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_acars-oxide: | |
name: Trigger deploy of sdr-enthusiasts/acars-oxide | |
needs: [deploy_ghcr_rtlsdr] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/acars-oxide | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/acars-oxide" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_reverse_web_proxy: | |
name: Trigger deploy of sdr-enthusiasts/docker-reversewebproxy | |
needs: [deploy_ghcr_python] | |
runs-on: ubuntu-latest | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-reversewebproxy | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-reversewebproxy" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_radar1090: | |
name: Trigger deploy of sdr-enthusiasts/docker-radar1090 | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
if: ${{ github.event.inputs.disable_upstream_triggers != 'true' }} | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-radar1090 | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-radar1090" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref main --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true | |
trigger_build_sdr-enthusiasts_flightairmap: | |
name: Trigger deploy of sdr-enthusiasts/docker-flightairmap | |
needs: [deploy_ghcr_base] | |
runs-on: ubuntu-latest | |
if: ${{ github.event.inputs.disable_upstream_triggers != 'true' }} | |
env: | |
WORKFLOW_AUTH_TOKEN: ${{ secrets.GH_PAT_MIKENYE }} | |
WORKFLOW_REPO: sdr-enthusiasts/docker-flightairmap | |
WORKFLOW_FILE: deploy.yml | |
WORKFLOW_REASON: "triggered via deploy_ghcr.yml in sdr-enthusiasts/docker-flightairmap" | |
steps: | |
- name: Trigger ${{ env.WORKFLOW_FILE }} in ${{ env.WORKFLOW_REPO }} | |
run: | | |
echo "$WORKFLOW_AUTH_TOKEN" | gh auth login --with-token | |
gh workflow run --ref master --repo "$WORKFLOW_REPO" "$WORKFLOW_FILE" -f reason="$WORKFLOW_REASON" -f use_test_image=true |