ci: allow manual dispatch
This commit is contained in:
parent
3d890d7e2f
commit
0578333f9d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue