Skip to content

0.10.1

0.10.1 #2

Workflow file for this run

# See
# - https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
# - https://docs.github.com/en/actions/learn-github-actions/contexts
# - https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
name: Build release images
on:
release:
types:
- published
concurrency:
group: build-release-images
cancel-in-progress: true
jobs:
parse_release_tag:
runs-on: ubuntu-latest
outputs:
baikal-version: ${{ steps.parse-release-tag.outputs.BAIKAL_VERSION }}
steps:
# Get the release version by stripping build metadata from the release name
- name: Parse release tag
id: parse-release-tag
run: echo BAIKAL_VERSION=${GITHUB_REF_NAME/+*/} >> "$GITHUB_OUTPUT"
apache:
name: Apache
needs: parse_release_tag
uses: ./.github/workflows/build-job.yaml
with:
dockerfile: apache.dockerfile
image-version: ${{ needs.parse_release_tag.outputs.baikal-version }}
tags: |
ckulka/baikal:${{ needs.parse_release_tag.outputs.baikal-version }}-apache
ckulka/baikal:${{ needs.parse_release_tag.outputs.baikal-version }}
secrets: inherit
apache_php82:
name: Apache (PHP 8.2)
needs: parse_release_tag
uses: ./.github/workflows/build-job.yaml
with:
dockerfile: apache-php8.2.dockerfile
image-version: ${{ needs.parse_release_tag.outputs.baikal-version }}
tags: |
ckulka/baikal:${{ needs.parse_release_tag.outputs.baikal-version }}-apache-php8.2
ckulka/baikal:${{ needs.parse_release_tag.outputs.baikal-version }}-php8.2
secrets: inherit
nginx:
name: Nginx
needs: parse_release_tag
uses: ./.github/workflows/build-job.yaml
with:
dockerfile: nginx.dockerfile
image-version: ${{ needs.parse_release_tag.outputs.baikal-version }}
tags: ckulka/baikal:${{ needs.parse_release_tag.outputs.baikal-version }}-nginx
secrets: inherit
nginx_php82:
name: Nginx (PHP 8.2)
needs: parse_release_tag
uses: ./.github/workflows/build-job.yaml
with:
dockerfile: nginx-php8.2.dockerfile
image-version: ${{ needs.parse_release_tag.outputs.baikal-version }}
tags: ckulka/baikal:${{ needs.parse_release_tag.outputs.baikal-version }}-nginx-php8.2
secrets: inherit