Skip to content

Commit

Permalink
Add github workflow to build and push watcher operator images
Browse files Browse the repository at this point in the history
This is based on nova operator workflow. It will build the images
once a pr gets merged.

Jira: https://issues.redhat.com/browse/OSPRH-11419

Signed-off-by: Chandan Kumar <[email protected]>
  • Loading branch information
raukadah authored and openshift-merge-bot[bot] committed Nov 14, 2024
1 parent f11de13 commit 9ca2cca
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-watcher-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: watcher operator image builder

on:
push:
branches:
- '*'

env:
imageregistry: 'quay.io'
imagenamespace: ${{ secrets.IMAGENAMESPACE || secrets.QUAY_USERNAME }}
latesttag: latest

jobs:
call-build-workflow:
uses: openstack-k8s-operators/openstack-k8s-operators-ci/.github/workflows/reusable-build-operator.yaml@main
with:
operator_name: watcher
go_version: 1.21.x
operator_sdk_version: 1.31.0
secrets:
IMAGENAMESPACE: ${{ secrets.IMAGENAMESPACE }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
REDHATIO_USERNAME: ${{ secrets.REDHATIO_USERNAME }}
REDHATIO_PASSWORD: ${{ secrets.REDHATIO_PASSWORD }}

0 comments on commit 9ca2cca

Please sign in to comment.