Skip to content

Dockerfiles Release

Dockerfiles Release #8

Workflow file for this run

name: Dockerfiles Release
on: create
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
release-pre-reqs:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
name: Release image required by other images
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
run: ./build-and-push-images.sh os-core ${{ github.event.ref }}
run: ./build-and-push-images.sh httpd ${{ github.event.ref }}

Check failure on line 25 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Dockerfiles Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 25, Col: 9): 'run' is already defined
release-matrix:
if: (github.event_name == 'create' && github.event.ref_type == 'tag')
name: Release Matrix
strategy:
matrix:
iamge: ['cgit', 'golang', 'haproxy', 'iperf', 'mariadb', 'memcached', 'nginx', 'node', 'numpy-mp', 'perl', 'php', 'php-fpm', 'postgres', 'python', 'rabbitmq', 'r-base', 'redis', 'ruby', 'tesseract-ocr']
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
run: ./build-and-push-images.sh ${{ matrix.image }} ${{ github.event.ref }}