publish image #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish image | |
on: | |
workflow_dispatch: | |
inputs: | |
target: | |
description: Target image to build (coin name) | |
required: true | |
type: string | |
secrets: | |
QUAY_IO: | |
required: true | |
workflow_call: | |
inputs: | |
target: | |
description: Target image to build (coin name) | |
required: true | |
type: string | |
jobs: | |
publish: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: make ${{ inputs.target }}_image | |
- run: podman login --username declarativesystems+github --password ${{ secrets.QUAY_IO }} quay.io | |
- run: make ${{ inputs.target }}_push |