diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 86936e5..c6a20e7 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -2,6 +2,7 @@ on: push: tags: - "*-v*" + workflow_dispatch: env: REGISTRY_ENDPOINT: host.containers.internal:5000 @@ -40,6 +41,7 @@ jobs: - name: List images run: podman image ls - name: Push tagged image to registry + if: ${{ github.event_name == "push" }} run: | podman push ${{ steps.image-metadata.outputs.full-image-name }} ${{ env.REGISTRY_ENDPOINT }}/forge-runners/${{ steps.image-metadata.outputs.full-image-name }} podman push ${{ steps.image-metadata.outputs.full-image-name }} ${{ env.REGISTRY_ENDPOINT }}/forge-runners/${{ matrix.image-name }}:latest