Skip to content

Commit 831ea77

Browse files
committed
Fix reported nit on build workflow
1 parent 917661e commit 831ea77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,12 @@ jobs:
136136
# 3. Putting the robot account's username and password in GitHub actions environment
137137
if: env.PUBLIC == 'true'
138138
run: |
139-
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" "${{ env.REGISTRY }}"
139+
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" "${REGISTRY}"
140140
if [ "${{ env.PUBLISH_DOCKERIO }}" = "true" ]; then
141141
docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" -p "${{ secrets.DOCKERHUB_TOKEN }}" docker.io
142142
fi
143+
env:
144+
REGISTRY: ${{ env.REGISTRY }}
143145

144146
# image: env.IMAGE
145147
#

0 commit comments

Comments
 (0)