And fix dependency building
All checks were successful
Build and push latest / publish-master (fedora-act) (push) Successful in 2m52s
Build and push latest / publish-master (fedora-cpp) (push) Successful in 6m50s
Build and push latest / publish-master (ubuntu-cpp) (push) Successful in 6m12s
Build and push latest / publish-dependencies (fedora-act) (push) Successful in 4m4s
All checks were successful
Build and push latest / publish-master (fedora-act) (push) Successful in 2m52s
Build and push latest / publish-master (fedora-cpp) (push) Successful in 6m50s
Build and push latest / publish-master (ubuntu-cpp) (push) Successful in 6m12s
Build and push latest / publish-dependencies (fedora-act) (push) Successful in 4m4s
This commit is contained in:
parent
d6849b3494
commit
4a988d3be6
@ -3,7 +3,7 @@ run-name: Build and push latest
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
publish-master:
|
||||
strategy:
|
||||
matrix:
|
||||
image: ["fedora-cpp", "ubuntu-cpp", "fedora-act"]
|
||||
@ -28,3 +28,29 @@ jobs:
|
||||
push: true
|
||||
tags: "git.skullnet.me/erki/${{ matrix.image }}:latest"
|
||||
file: ${{ matrix.image }}.Dockerfile
|
||||
|
||||
publish-dependencies:
|
||||
strategy:
|
||||
matrix:
|
||||
image: ["fedora-act"]
|
||||
runs-on: ubuntu-latest
|
||||
if: gitea.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.skullnet.me
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: "git.skullnet.me/erki/${{ matrix.image }}:latest"
|
||||
file: ${{ matrix.image }}.Dockerfile
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user