Prepare RHEL workflow for secrets
This commit is contained in:
parent
a0dc5a4360
commit
93456d04e0
11
.github/workflows/images_build_rhel.yml
vendored
11
.github/workflows/images_build_rhel.yml
vendored
@ -4,6 +4,15 @@ on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
push:
|
||||
branches:
|
||||
- '[0-9]+.[0-9]+'
|
||||
- 'trunk'
|
||||
paths:
|
||||
- 'Dockerfiles/*/rhel/*'
|
||||
- 'build.json'
|
||||
- '!**/README.md'
|
||||
- '.github/workflows/images_build_rhel.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
defaults:
|
||||
@ -14,7 +23,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
AUTO_PUSH_IMAGES: ${{ vars.AUTO_PUSH_IMAGES }}
|
||||
AUTO_PUSH_IMAGES: ${{ contains(fromJSON('["workflow_dispatch", "push"]'), github.event_name) && 'false' || vars.AUTO_PUSH_IMAGES }}
|
||||
|
||||
LATEST_BRANCH: ${{ github.event.repository.default_branch }}
|
||||
TRUNK_GIT_BRANCH: "refs/heads/trunk"
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"server-mysql": { "base" : "build-mysql", "rhel" : true },
|
||||
"server-pgsql": { "base" : "build-pgsql", "rhel" : false },
|
||||
"snmptraps": { "base" : "", "rhel" : true },
|
||||
"web-apache-mysql": { "base" : "build-mysql", "rhel" : true },
|
||||
"web-apache-mysql": { "base" : "build-mysql", "rhel" : false },
|
||||
"web-apache-pgsql": { "base" : "build-pgsql", "rhel" : false },
|
||||
"web-nginx-mysql": { "base" : "build-mysql", "rhel" : true },
|
||||
"web-nginx-pgsql": { "base" : "build-mysql", "rhel" : false },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user