ci: only build apko base images on change

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-19 11:55:24 +01:00
parent 80e51d59c1
commit acc3f64dee
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
name: Build container images using apko name: Build container base images using apko
description: Build one or multiple apko images based on supplied .yaml files description: Build one or multiple apko base images based on supplied .yaml files
inputs: inputs:
apkoConfig: apkoConfig:

View file

@ -1,4 +1,4 @@
name: Build and upload all apko container images name: Build and upload all apko container base images
on: on:
workflow_dispatch: workflow_dispatch:
@ -6,6 +6,9 @@ on:
branches: branches:
- main - main
- "release/**" - "release/**"
paths:
- "/apko/**"
- "/.github/workflows/build-apko-image.yml"
jobs: jobs:
build-apko-image: build-apko-image: