Skip to content

Commit 252de0e

Browse files
authored
Merge pull request #114 from mallardduck/gha-prime-staging
Add Prime registry push to staging
2 parents 6b25b4e + bff5e6c commit 252de0e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
secrets: |
5959
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME ;
6060
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_PASSWORD ;
61+
secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials registry | PRIME_STG_REGISTRY ;
62+
secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials username | PRIME_STG_REGISTRY_USERNAME ;
63+
secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials password | PRIME_STG_REGISTRY_PASSWORD ;
6164
6265
- name: Build and push all platforms
6366
uses: rancher/ecm-distro-tools/actions/publish-image@master
@@ -71,7 +74,11 @@ jobs:
7174
public-username: ${{ env.DOCKER_USERNAME || vars.DOCKER_USERNAME || github.repository_owner }}
7275
public-password: ${{ env.DOCKER_PASSWORD || secrets.DOCKER_PASSWORD }}
7376

74-
push-to-prime: false
77+
push-to-prime: true
78+
prime-registry: ${{ env.PRIME_STG_REGISTRY }}
79+
prime-repo: ${{ vars.REPO }}
80+
prime-username: ${{ env.PRIME_STG_REGISTRY_USERNAME }}
81+
prime-password: ${{ env.PRIME_STG_REGISTRY_PASSWORD }}
7582

7683
-
7784
name: Login to GitHub Container Registry

0 commit comments

Comments
 (0)