Actions: Add publish job
Some checks failed
build and publish containers / publish (nixos, unstable) (push) Waiting to run
build and publish containers / publish (nixos, 24.11) (push) Waiting to run
build and publish containers / build (nixos, unstable) (push) Has been cancelled
build and publish containers / build (nixos, 24.11) (push) Has been cancelled
Some checks failed
build and publish containers / publish (nixos, unstable) (push) Waiting to run
build and publish containers / publish (nixos, 24.11) (push) Waiting to run
build and publish containers / build (nixos, unstable) (push) Has been cancelled
build and publish containers / build (nixos, 24.11) (push) Has been cancelled
This commit is contained in:
parent
3a2cc1d3d7
commit
7e3ddf7410
1 changed files with 16 additions and 0 deletions
|
@ -31,3 +31,19 @@ jobs:
|
||||||
- name: load image into podman
|
- name: load image into podman
|
||||||
run: |
|
run: |
|
||||||
podman load < ${{ steps.pkgs.outputs.pkgs-name }}
|
podman load < ${{ steps.pkgs.outputs.pkgs-name }}
|
||||||
|
|
||||||
|
publish:
|
||||||
|
runs-on: nixos-latest
|
||||||
|
strategy: *strategy
|
||||||
|
steps:
|
||||||
|
- name: login to container registry
|
||||||
|
uses: https://code.forgejo.org/docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: git.flyinggecko.org
|
||||||
|
username: flyinggecko
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- name: publish image
|
||||||
|
env:
|
||||||
|
IMAGE: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }}:${{ matrix.version }}
|
||||||
|
run: |
|
||||||
|
docker push "${IMAGE}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue