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