ci: build and deploy the image only on specific label

This commit is contained in:
krasimir.velichkov 2026-03-22 13:17:00 +02:00
parent d3fc5b6770
commit 07aa4bdb08
No known key found for this signature in database
GPG key ID: F42B71CE80EABBFD

View file

@ -11,6 +11,9 @@ env:
jobs:
Build-Container-Image:
runs-on: ubuntu-latest
if: ${{ github.event.label.name == 'CI:Build' }} # source: https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label
permissions:
contents: read
packages: write