Commit 908a397f authored by Administrator's avatar Administrator

Update build.yml

parent 4f6f5cbe
Pipeline #12 canceled with stages
...@@ -6,6 +6,6 @@ stages: ...@@ -6,6 +6,6 @@ stages:
build: build:
stage: build stage: build
script: script:
- copy /home/ubuntu/Dockerfile ./ - cp /home/ubuntu/Dockerfile ./
- mvn -Dmaven.test.skip=true clean package - mvn -Dmaven.test.skip=true clean package
- 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