Skip to content

Commit 7497fe7

Browse files
committed
fix push to dockerhub
1 parent 54ed131 commit 7497fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
push_tags=""
9999
for tag in ${tags}; do
100-
if [ "${{ secrets.DOCKERHUB_USERNAME }}" == "" ]; then
100+
if [ "${{ secrets.DOCKERHUB_USERNAME }}" != "" ]; then
101101
push_tags="${push_tags}${{ env.DOCKERHUB_ORG }}/${{ matrix.IMAGE }}:${tag},"
102102
fi
103103
push_tags="${push_tags}ghcr.io/${{ github.repository_owner }}/${{ matrix.IMAGE }}:${tag},"

0 commit comments

Comments
 (0)