From 5a6e41a542dd3bbf1de603cff4f7f9642a38643c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Sun, 24 Apr 2022 15:10:41 +0800 Subject: [PATCH] =?UTF-8?q?ci(jenkinsfile):=20=F0=9F=90=8E=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9E=84=E5=BB=BAlatest=E7=9A=84=E9=98=B6=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index f3fab73..c0d047b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,5 +8,11 @@ pipeline { sh 'docker push harbor.luxcreo.cn/library/hyperf:8.0-swoole' } } + stage('Build Latest') { + steps { + sh 'docker tag harbor.luxcreo.cn/library/hyperf:8.0-swoole harbor.luxcreo.cn/library/hyperf:latest' + sh 'docker push harbor.luxcreo.cn/library/hyperf:latest' + } + } } } \ No newline at end of file