ci: allow manual dispatch

This commit is contained in:
Marc 2024-11-06 19:47:55 -05:00
parent 3d890d7e2f
commit 0578333f9d
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -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