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

This commit is contained in:
Julian Stiller 2025-02-11 00:56:26 +01:00
parent 3a2cc1d3d7
commit 7e3ddf7410

View file

@ -31,3 +31,19 @@ jobs:
- name: load image into podman
run: |
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}"