Skip to content

Commit 0280f3b

Browse files
yuvipandamanics
andauthored
Stop using env. directly in more places
Co-authored-by: Simon Li <[email protected]>
1 parent 831ea77 commit 0280f3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,11 @@ jobs:
137137
if: env.PUBLIC == 'true'
138138
run: |
139139
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" "${REGISTRY}"
140-
if [ "${{ env.PUBLISH_DOCKERIO }}" = "true" ]; then
140+
if [ "${PUBLISH_DOCKERIO}" = "true" ]; then
141141
docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" -p "${{ secrets.DOCKERHUB_TOKEN }}" docker.io
142142
fi
143143
env:
144+
PUBLISH_DOCKERIO: "true"
144145
REGISTRY: ${{ env.REGISTRY }}
145146

146147
# image: env.IMAGE

0 commit comments

Comments
 (0)