mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-09-22 21:54:56 -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
|
||||
|
||||
jobs:
|
||||
# test:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: 3.x
|
||||
# - run: make test
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: make test
|
||||
|
||||
package:
|
||||
#needs: test
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
environment: ${{ contains(github.ref, '-') && 'development' || 'production' }}
|
||||
steps:
|
||||
|
@ -100,7 +99,6 @@ jobs:
|
|||
|
||||
build-containers-release:
|
||||
needs: package
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
@ -129,7 +127,7 @@ jobs:
|
|||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
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
|
||||
# uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
|
@ -165,7 +163,6 @@ jobs:
|
|||
retention-days: 1
|
||||
|
||||
container-manifest-merge:
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue