Skip to content

Commit 453e69d

Browse files
authored
Merge pull request #13 from stackhpc/fix-registry-settings
feat!: update `github_default_registry`
2 parents 072c57a + cd468e9 commit 453e69d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace: stackhpc
88
name: kayobe_workflows
99

1010
# The version of the collection. Must be compatible with semantic versioning
11-
version: 1.0.1
11+
version: 1.0.2
1212

1313
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1414
readme: README.md

roles/github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following variables can be used to make small adjustments to the composition
4646

4747
`github_image_tag`: tag used to select kayobe image defaults to `latest`
4848

49-
`github_registry`: dictionary containing keys that correspond to `url`, `username`, `password` and `share` for the registry to be used by the workflows. Defaults to `ghcr.io` and uses the actors token to login. The key `share` is to indiciate if the registry is shared between environments.
49+
`github_registry`: dictionary containing keys that correspond to `url`, `username`, `password` and `share` for the registry to be used by the workflows. By default it uses repository variables and settings `REGISTRY_URL`, `REGISTRY_USERNAME`, `REGISTRY_PASSWORD`. The key `share` is to indiciate if the registry is shared between environments.
5050

5151
`github_kayobe_base_image`: select the base image used when building the kayobe docker image. Default is `quay.io/centos/centos:stream8` supports OpenStack Wallaby, Xena and Yoga. Zed and higher would require `quay.io/rockylinux/rockylinux:9`.
5252

roles/github/vars/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
github_default_registry:
3-
url: ghcr.io
4-
username: !unsafe "${{ github.actor }}"
5-
password: !unsafe "${{ secrets.GITHUB_TOKEN }}"
3+
url: !unsafe "${{ vars.REGISTRY_URL }}"
4+
username: !unsafe "${{ vars.REGISTRY_USERNAME }}"
5+
password: !unsafe "${{ secrets.REGISTRY_PASSWORD }}"
66
share: false
77

88
github_default_kayobe_arguments:

0 commit comments

Comments
 (0)