artifacts/.github/workflows/flux-cli-image.yaml
2023-03-09 16:56:55 +08:00

29 lines
726 B
YAML

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