mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
workflows: rename main
-> master
& trigger for support branches as well
This commit is contained in:
parent
11b3564d7c
commit
1fbcbae02d
11
.github/workflows/container-image.yml
vendored
11
.github/workflows/container-image.yml
vendored
@ -2,21 +2,20 @@
|
||||
# pushes them to both GitHub Container Registry (GHCR) and Docker Hub.
|
||||
# It sets up QEMU and Docker Buildx for cross-platform builds,
|
||||
# and builds the container images using the Containerfile.
|
||||
# Upon pushes to the main branch or when releases are published,
|
||||
# Upon pushes to the master branch or when releases are published,
|
||||
# it logs into GHCR and Docker Hub using credentials from GitHub secrets,
|
||||
# tags and pushes the images to both registries,
|
||||
# and generates and pushes signed build provenance attestations to each registry.
|
||||
# The workflow also triggers for pull requests to the main branch, verifying only the image build.
|
||||
# The workflow also triggers for pull requests to the master branch, verifying only the image build.
|
||||
|
||||
name: Build and Publish Container Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- 'support/*'
|
||||
pull_request: {}
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
Loading…
x
Reference in New Issue
Block a user