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

30 lines
758 B
YAML

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