A quick fix to support alpha, beta, and dev builds. #248
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: Docker Build | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
jobs: | |
run-update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Should not change anything | |
run: "./update.sh -g && [ -z \"$(git diff --stat)\" ]" | |
build-tagged: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: "./build.sh -t" | |
- name: Test | |
run: "./test.sh" | |
build-5-7: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- uses: actions/checkout@v4 | |
- name: Update to 5.7.0.25 (ubuntu20) | |
run: "./update.sh -s 5.7.0.25" | |
- name: Build | |
run: "./build.sh -t" | |
- name: Test | |
run: "./test.sh" | |
build-6-0: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- uses: actions/checkout@v4 | |
- name: Update to 6.0.0.9 (no fed) | |
run: "./update.sh -s 6.0.0.9" | |
- name: Build | |
run: "./build.sh -t" | |
- name: Test | |
run: "./test.sh" |