mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-09-26 03:01:04 -04:00
test docker builds for all pushes and prs
This commit is contained in:
parent
7cdff284ad
commit
6c4a699918
1 changed files with 11 additions and 14 deletions
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
|
@ -24,19 +24,18 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# test:
|
test:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# - name: Set up Python
|
- name: Set up Python
|
||||||
# uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
# with:
|
with:
|
||||||
# python-version: 3.x
|
python-version: 3.x
|
||||||
# - run: make test
|
- run: make test
|
||||||
|
|
||||||
package:
|
package:
|
||||||
#needs: test
|
needs: test
|
||||||
#if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: ${{ contains(github.ref, '-') && 'development' || 'production' }}
|
environment: ${{ contains(github.ref, '-') && 'development' || 'production' }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -100,7 +99,6 @@ jobs:
|
||||||
|
|
||||||
build-containers-release:
|
build-containers-release:
|
||||||
needs: package
|
needs: package
|
||||||
#if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -129,7 +127,7 @@ jobs:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# # Uncomment to use QEMU emulation, if rarer architectures are needed
|
# # Uncomment to use QEMU emulation, if niche architectures are needed
|
||||||
# - name: Set up QEMU
|
# - name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
@ -165,7 +163,6 @@ jobs:
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
container-manifest-merge:
|
container-manifest-merge:
|
||||||
#if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue