Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mobdna-k8s
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenggui.li
mobdna-k8s
Commits
f73d5ad3
Commit
f73d5ad3
authored
Mar 24, 2022
by
shenggui.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
943c0b55
Pipeline
#2037
failed with stages
in 1 minute 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.gitlab-ci.yml
.gitlab-ci.yml
+2
-1
No files found.
.gitlab-ci.yml
View file @
f73d5ad3
...
...
@@ -28,7 +28,7 @@ mvn_package:
# - mv docker_conf Dockerfile target/
-
mkdir target
-
cp web/target/mob-dna-1.0.jar target/ && cp Dockerfile target/
-
aws s3 cp web/target/mob-dna-1.0.jar s3://tkio-test-gitlabrunner-cache/runner/project/
#
- aws s3 cp web/target/mob-dna-1.0.jar s3://tkio-test-gitlabrunner-cache/runner/project/
-
ls ; cd target ; ls -lh
-
md5sum mob-dna-1.0.jar
only
:
...
...
@@ -41,6 +41,7 @@ build_image:
stage
:
build
script
:
-
pwd; ls -lh ; df -h ;cd target;ls; md5sum mob-dna-1.0.jar
-
aws s3 cp target/mob-dna-1.0.jar s3://tkio-test-gitlabrunner-cache/runner/project/
-
docker run -i --network host --rm amazon/aws-cli ecr get-login-password --region cn-north-1 | docker login --username AWS --password-stdin ${REG_BASE}
-
docker build -t ${REG_URL}:${CI_COMMIT_SHA} .
-
docker push ${REG_URL}:${CI_COMMIT_SHA}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment