Skip to content

manual-build-push

manual-build-push #66

---
name: manual-build-push
on:
workflow_dispatch:
inputs:
image:
description: Image (api, admin, conan)
type: string
default: api
tag:
description: Image tag
required: true
type: string
labels:
description: 'Quay labels (ex: quay.expires-after=2d human=tony)'
default: ''
required: false
type: string
jobs:
build-and-push:
if: contains('["agonzalezrh", "fridim", "marcosmamorim", "jkupfere", "rut31337", "aleixhub"]', github.actor)
uses: ./.github/workflows/build-push.yml
secrets:
registry_username: ${{ secrets.QUAY_RHPDS_SANDBOX_API_USER }}
registry_password: ${{ secrets.QUAY_RHPDS_SANDBOX_API_PASSWORD }}
with:
image: ${{ inputs.image }}
tag: ${{ inputs.tag }}
labels: ${{ inputs.labels }}