Skip to content

using env var

using env var #4

Workflow file for this run

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: ${{ env.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: ${{ env.QUAY_REGISTRY }}
quay_username: ${{ secrets.QUAY_USERNAME }}
quay_password: ${{ secrets.QUAY_PASSWORD }}