artifacts/.github/workflows/alpine-with-custom-ca.yaml
2023-03-09 11:04:12 +08:00

30 lines
763 B
YAML

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