artifacts/.github/workflows/alpine-image.yaml
2023-01-13 23:34:55 +08:00

29 lines
720 B
YAML

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