mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
workflows: rename main
-> master
& trigger on all PR branches
This commit is contained in:
parent
b2b217ba76
commit
d9ab97d7c4
10
.github/workflows/container-image.yml
vendored
10
.github/workflows/container-image.yml
vendored
@ -2,21 +2,19 @@
|
|||||||
# pushes them to both GitHub Container Registry (GHCR) and Docker Hub.
|
# pushes them to both GitHub Container Registry (GHCR) and Docker Hub.
|
||||||
# It sets up QEMU and Docker Buildx for cross-platform builds,
|
# It sets up QEMU and Docker Buildx for cross-platform builds,
|
||||||
# and builds the container images using the Containerfile.
|
# 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,
|
# it logs into GHCR and Docker Hub using credentials from GitHub secrets,
|
||||||
# tags and pushes the images to both registries,
|
# tags and pushes the images to both registries,
|
||||||
# and generates and pushes signed build provenance attestations to each registry.
|
# 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
|
name: Build and Publish Container Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
pull_request:
|
pull_request: {}
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- published
|
- published
|
||||||
|
Loading…
x
Reference in New Issue
Block a user