From e6e31523fe6b3d01a8cf17c0f405645c6eda3f3c Mon Sep 17 00:00:00 2001 From: Julian Stiller Date: Tue, 11 Feb 2025 21:53:52 +0100 Subject: [PATCH] Actions: Use podman actions for publishing --- .forgejo/workflows/publish.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 218cd54..4704696 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -38,13 +38,14 @@ jobs: strategy: *strategy steps: - name: login to container registry - uses: https://code.forgejo.org/docker/login-action@v2 + uses: redhat-actions/podman-login@v1 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}" + uses: redhat-actions/push-to-registry@v2 + with: + image: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }} + tags: ${{ matrix.version }} + registry: git.flyinggecko.org