Skip to content

Commit f273ec6

Browse files
fix: move docker usernames out of secrets to avoid skipped outputs
1 parent 741695c commit f273ec6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/sconify.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,18 @@ on:
4747
description: "Create Scone Production image (default true)"
4848
default: true
4949
type: boolean
50-
secrets:
5150
docker-username:
51+
type: string
5252
description: "Docker Registry Username"
5353
required: true
54-
docker-password:
55-
description: "Docker Registry Password or Token"
56-
required: true
5754
scontain-username:
55+
type: string
5856
description: "Scontain Registry Username"
5957
required: true
58+
secrets:
59+
docker-password:
60+
description: "Docker Registry Password or Token"
61+
required: true
6062
scontain-password:
6163
description: "Scontain Registry Password or Token"
6264
required: true
@@ -102,14 +104,14 @@ jobs:
102104
uses: docker/login-action@v3
103105
with:
104106
registry: ${{ inputs.docker-registry }}
105-
username: ${{ secrets.docker-username }}
107+
username: ${{ inputs.docker-username }}
106108
password: ${{ secrets.docker-password }}
107109

108110
- name: Login to Scontain Docker Registry
109111
uses: docker/login-action@v3
110112
with:
111113
registry: "registry.scontain.com"
112-
username: ${{ secrets.scontain-username }}
114+
username: ${{ inputs.scontain-username }}
113115
password: ${{ secrets.scontain-password }}
114116

115117
- name: Pull Image to Sconify

0 commit comments

Comments
 (0)