Skip to content

Commit be55306

Browse files
committed
ci: change secret names
1 parent 66593ba commit be55306

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/wc-build-push.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
required: false
1818
type: string
1919
registry:
20-
description: "Docker registry to push built containers to, DOCKER_USERNAME and DOCKER_PASSWORD secrets must be set if not using GitHub Container Registry"
20+
description: "Docker registry to push built containers to, DOCKER_REGISTRY_USERNAME and DOCKER_REGISTRY_PASSWORD secrets must be set if not using GitHub Container Registry"
2121
required: false
2222
type: string
2323
default: "ghcr.io"
@@ -35,10 +35,10 @@ on:
3535
type: string
3636
default: ubuntu-latest
3737
secrets:
38-
DOCKER_USERNAME:
38+
DOCKER_REGISTRY_USERNAME:
3939
description: "User name for Docker login, if not provided the GitHub actor will be used"
4040
required: false
41-
DOCKER_PASSWORD:
41+
DOCKER_REGISTRY_PASSWORD:
4242
description: "Password or token for Docker login, if not provided the GITHUB_TOKEN will be used"
4343
required: false
4444

@@ -71,8 +71,8 @@ jobs:
7171
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
7272
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
7373
env:
74-
USERNAME: ${{ secrets.DOCKER_USERNAME || github.actor }}
75-
PASSWORD: ${{ secrets.DOCKER_PASSWORD || secrets.GITHUB_TOKEN }}
74+
USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME || github.actor }}
75+
PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD || secrets.GITHUB_TOKEN }}
7676
with:
7777
registry: ${{ inputs.registry }}
7878
username: ${{ env.USERNAME }}
@@ -150,8 +150,8 @@ jobs:
150150
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
151151
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
152152
env:
153-
USERNAME: ${{ secrets.DOCKER_USERNAME || github.actor }}
154-
PASSWORD: ${{ secrets.DOCKER_PASSWORD || secrets.GITHUB_TOKEN }}
153+
USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME || github.actor }}
154+
PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD || secrets.GITHUB_TOKEN }}
155155
with:
156156
registry: ${{ inputs.registry }}
157157
username: ${{ env.USERNAME }}

.github/workflows/wc-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
required: true
1616
type: string
1717
registry:
18-
description: "Docker registry to push built containers to, DOCKER_USERNAME and DOCKER_PASSWORD secrets must be set if not using GitHub Container Registry"
18+
description: "Docker registry to push built containers to, DOCKER_REGISTRY_USERNAME and DOCKER_REGISTRY_PASSWORD secrets must be set if not using GitHub Container Registry"
1919
required: false
2020
type: string
2121
default: "ghcr.io"

0 commit comments

Comments
 (0)