Actions: login and push in one step
Some checks failed
build and publish containers / build (nixos, 24.11) (push) Failing after 5m47s
build and publish containers / build (nixos, unstable) (push) Failing after 5m45s

This commit is contained in:
Julian Stiller 2025-02-11 22:24:46 +01:00
parent 02cc15954b
commit 4e27b1ecdc

View file

@ -31,15 +31,11 @@ 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 }}
- name: login to container registry
uses: actions/podman-login@v1
with:
registry: git.flyinggecko.org
username: flyinggecko
password: ${{ secrets.REGISTRY_TOKEN }}
- name: publish image - name: publish image
uses: actions/push-to-registry@v2 uses: actions/push-to-registry@v2
with: with:
image: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }} image: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }}
tags: ${{ matrix.version }} tags: ${{ matrix.version }}
registry: git.flyinggecko.org registry: git.flyinggecko.org
username: flyinggecko
password: ${{ secrets.REGISTRY_TOKEN }