Skip to content

Add CI workflow to deploy camel-dashboard-operator image #2

Add CI workflow to deploy camel-dashboard-operator image

Add CI workflow to deploy camel-dashboard-operator image #2

Workflow file for this run

name: Operator
on:
schedule:
- cron: "30 4 * * *"
pull_request:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- id: checkout-operator-repo
name: Checkout Camel Dashboard Operator repo
uses: actions/checkout@v4
with:
repository: squakez/camel-dashboard-operator
path: camel-dashboard-operator
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "camel-dashboard-operator/go.mod"
check-latest: true
- name: Build operator
shell: bash
run: |
pushd camel-dashboard-operator
NOTEST=1 make build
NOTEST=1 CUSTOM_IMAGE=quay.io/camel-tooling/camel-dashboard-operator CUSTOM_VERSION=latest make images
NOTEST=1 CUSTOM_IMAGE=quay.io/camel-tooling/camel-dashboard-operator CUSTOM_VERSION=latest make images-push