mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-07 10:26:41 +02:00
Prepare RHEL workflow for secrets
This commit is contained in:
parent
37bc5841ac
commit
dc93826ef9
8
.github/workflows/images_build_rhel.yml
vendored
8
.github/workflows/images_build_rhel.yml
vendored
@ -14,6 +14,12 @@ on:
|
|||||||
- '!**/README.md'
|
- '!**/README.md'
|
||||||
- '.github/workflows/images_build_rhel.yml'
|
- '.github/workflows/images_build_rhel.yml'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
publish_images:
|
||||||
|
description: 'Publish images'
|
||||||
|
required: true
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@ -23,7 +29,7 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
AUTO_PUSH_IMAGES: ${{ contains(fromJSON('["workflow_dispatch", "push"]'), github.event_name) && 'false' || vars.AUTO_PUSH_IMAGES }}
|
AUTO_PUSH_IMAGES: ${{ github.event.inputs.publish_images }}
|
||||||
|
|
||||||
LATEST_BRANCH: ${{ github.event.repository.default_branch }}
|
LATEST_BRANCH: ${{ github.event.repository.default_branch }}
|
||||||
TRUNK_GIT_BRANCH: "refs/heads/trunk"
|
TRUNK_GIT_BRANCH: "refs/heads/trunk"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user