Skip to content

Commit

Permalink
using composite workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timam committed Oct 2, 2023
1 parent abbb4e2 commit f99d10d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/quay.yaml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: publish docker image to quay.io

on:
push:
tags:
- 'v*'

jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/386
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64/v8

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
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
tag: ${{ github.ref_name }}
quay_registry: ${{ vars.QUAY_REGISTRY }}
quay_username: ${{ secrets.QUAY_USERNAME }}
quay_password: ${{ secrets.QUAY_PASSWORD }}

0 comments on commit f99d10d

Please sign in to comment.