Commit 648a8906 authored by Administrator's avatar Administrator

Update build.yml

parent 908a397f
Pipeline #14 canceled with stages
...@@ -8,4 +8,5 @@ build: ...@@ -8,4 +8,5 @@ build:
script: script:
- cp /home/ubuntu/Dockerfile ./ - cp /home/ubuntu/Dockerfile ./
- mvn -Dmaven.test.skip=true clean package - mvn -Dmaven.test.skip=true clean package
- echo 'appname is ${appname}, ports is ${ports}'
- docker build -t 192.168.123.7:5000/${appname} --no-cache --build-arg=$ports . - 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