Skip to content

Commit 92859b2

Browse files
committed
updating docker publish script
1 parent 2414db3 commit 92859b2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

scripts/publish.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ find "$DOCKERFILES_DIR" -maxdepth 1 -name "*.dockerfile" -type f | while read -r
3131
exit -1
3232
fi
3333

34+
#### WARNING: following commented-out on purpose. should only publish an image, once, and if in any rare
35+
#### occasion of updating.
36+
#### This also requires to run "docker login" with WF credentials for Docker Hub.
37+
#### As such, only architect can do this operation.
38+
39+
# Publish on Docker Hub
40+
# echo "Publishing image: webfuzzing/wfd-$X:FINAL"
41+
# docker push "webfuzzing/wfd-$X:FINAL"
42+
#
43+
# if [ $? -eq 0 ]; then
44+
# echo "Successfully published webfuzzing/wfd-$X:FINAL"
45+
# else
46+
# echo "Failed to publish webfuzzing/wfd-$X:FINAL"
47+
# exit -1
48+
# fi
49+
3450

3551
echo "---"
3652
done

0 commit comments

Comments
 (0)