Parcourir la source

添加 'build.sh'

zoumuyu il y a 3 semaines
Parent
commit
def2ff728c
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      build.sh

+ 6 - 0
build.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+#zoumuyu
+
+docker build -t ${HARBOR_URL}/${IMAGE_NAME}:${GIT_COMMIT_SHORT} .
+docker push ${HARBOR_URL}/${IMAGE_NAME}:${GIT_COMMIT_SHORT}
+docker pull ${HARBOR_URL}/${IMAGE_NAME}:${GIT_COMMIT_SHORT}