Commit dd7df54f authored by Administrator's avatar Administrator

更新build.yml

parent 482b4cec
Pipeline #7 failed with stages
......@@ -6,4 +6,6 @@ stages:
build:
stage: build
script:
- mvn -Dmaven.test.skip=true clean package docker:build
\ No newline at end of file
- copy /home/ubuntu/Dockerfile ./
- mvn -Dmaven.test.skip=true clean package
- docker build -t 192.168.123.7:5000/${appname} --no-cache --build-arg=$ports .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment