using vars #7
Workflow file for this run
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 docker images to quay.io | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
name: Build and push image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: build and push watcher docker image to quay.io | |
uses: statuzproj/actions/quay-multi-arch@main | |
with: | |
service_name: watcher | |
dockerfile_path: svc/watcher/Dockerfile | |
tag: ${{ github.ref_name }} | |
quay_registry: ${{ vars.QUAY_REGISTRY }} | |
quay_username: ${{ secrets.QUAY_USERNAME }} | |
quay_password: ${{ secrets.QUAY_PASSWORD }} | |
- name: build and push genie docker image to quay.io | |
uses: statuzproj/actions/quay-multi-arch@main | |
with: | |
service_name: genie | |
dockerfile_path: svc/genie/Dockerfile | |
tag: ${{ github.ref_name }} | |
quay_registry: ${{ vars.QUAY_REGISTRY }} | |
quay_username: ${{ secrets.QUAY_USERNAME }} | |
quay_password: ${{ secrets.QUAY_PASSWORD }} |