artifacts/.github/workflows/chart-builder-alpine.yaml
2023-03-09 11:04:12 +08:00

33 lines
1001 B
YAML

name: Build & push chart builder apline base image
on:
pull_request:
push:
paths:
- '.github/workflows/chart-builder-alpine.yaml'
- 'oci/app-runner/chart-builder-alpine/ca.crt'
- 'oci/app-runner/chart-builder-alpine/Makefile'
- 'oci/app-runner/chart-builder-alpine/Dockerfile'
- 'oci/app-runner/chart-builder-alpine/repositories'
branches:
- main
jobs:
base-image:
runs-on: ubuntu-latest
name: build chart builder alpine base image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push chart builder alpine base image'
uses: aevea/action-kaniko@master
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: 'oci/app-runner/chart-builder-alpine/'
build_file: 'Dockerfile'
image: public/chart-builder-alpine
tag: latest
cache: false
cache_registry: cache