artifacts/.github/workflows/fluxcd/flux-notification-controller-image.yaml
2023-02-16 13:07:27 +08:00

29 lines
826 B
YAML

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