29 lines
774 B
YAML
29 lines
774 B
YAML
name: Build & push flux-helm-controller image
|
|
on:
|
|
pull_request:
|
|
push:
|
|
paths:
|
|
- 'oci/fluxcd/flux-helm-controller.Dockerfile'
|
|
- '.github/workflows/flux-helm-controller-image.yaml'
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
name: Build docker image
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: 'Artifact: build && push fluxcd/helm-controller image'
|
|
uses: aevea/action-kaniko@master
|
|
with:
|
|
registry: artifact.onwalk.net
|
|
username: admin
|
|
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
|
build_file: fluxcd/flux-helm-controller.Dockerfile
|
|
image: k8s/fluxcd/helm-controller
|
|
tag: v0.22.1
|
|
cache: true
|
|
cache_registry: cache
|