Skip to content

Commit e2beb78

Browse files
authored
Merge pull request #6 from rancherlabs/fix-release-workflow-typo
Fix typo in release workflow Docker Hub credentials path
2 parents 9003e52 + 7045e5a commit e2beb78

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ jobs:
1212
id-token: write
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Check out code
16-
uses: actions/checkout@v4
15+
- name: Check out code
16+
uses: actions/checkout@v4
1717

18-
- name: "Read secrets"
19-
uses: rancher-eio/read-vault-secrets@main
20-
with:
21-
secrets: |
22-
secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials username | DOCKER_USERNAME ;
23-
secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials password | DOCKER_PASSWORD ;
24-
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials registry | PRIME_REGISTRY ;
25-
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials username | PRIME_REGISTRY_USERNAME ;
26-
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials password | PRIME_REGISTRY_PASSWORD
18+
- name: "Read secrets"
19+
uses: rancher-eio/read-vault-secrets@main
20+
with:
21+
secrets: |
22+
secret/data/github/repo/${{ github.repository }}/dockerhub/credentials username | DOCKER_USERNAME ;
23+
secret/data/github/repo/${{ github.repository }}/dockerhub/credentials password | DOCKER_PASSWORD ;
24+
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials registry | PRIME_REGISTRY ;
25+
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials username | PRIME_REGISTRY_USERNAME ;
26+
secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials password | PRIME_REGISTRY_PASSWORD
2727
28-
- name: Build and push image
29-
uses: rancher/ecm-distro-tools/actions/publish-image@master
30-
with:
31-
image: swiss-army-knife
32-
tag: ${{ github.event.release.tag_name }},latest
33-
public-repo: rancherlabs
34-
public-username: ${{ env.DOCKER_USERNAME }}
35-
public-password: ${{ env.DOCKER_PASSWORD }}
28+
- name: Build and push image
29+
uses: rancher/ecm-distro-tools/actions/publish-image@master
30+
with:
31+
image: swiss-army-knife
32+
tag: ${{ github.event.release.tag_name }},latest
33+
public-repo: rancherlabs
34+
public-username: ${{ env.DOCKER_USERNAME }}
35+
public-password: ${{ env.DOCKER_PASSWORD }}
3636

37-
prime-repo: rancherlabs
38-
prime-registry: ${{ env.PRIME_REGISTRY }}
39-
prime-username: ${{ env.PRIME_REGISTRY_USERNAME }}
40-
prime-password: ${{ env.PRIME_REGISTRY_PASSWORD }}
37+
prime-repo: rancherlabs
38+
prime-registry: ${{ env.PRIME_REGISTRY }}
39+
prime-username: ${{ env.PRIME_REGISTRY_USERNAME }}
40+
prime-password: ${{ env.PRIME_REGISTRY_PASSWORD }}

0 commit comments

Comments
 (0)