Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dotnet-cicd-demo
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
eoc-group
dotnet-cicd-demo
Commits
9e05203c
Commit
9e05203c
authored
Aug 15, 2025
by
shipengwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.aipark.com:eoc-group/dotnet-cicd-demo
parents
f4b8feea
6501e763
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
Dockerfile1
DotNetCicdDemo/Dockerfile1
+0
-0
No files found.
.gitlab-ci.yml
View file @
9e05203c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Official docker image.
# Official docker image.
variables
:
variables
:
BASEVERSION
:
"
1.0"
BASEVERSION
:
"
1.0"
DATAVERSION
:
"
$(date
+%Y%m%d%H%M)"
DATAVERSION
:
$(date +%Y%m%d%H%M)
FULLVERSION
:
"
${BASEVERSION}.${DATAVERSION}"
FULLVERSION
:
"
${BASEVERSION}.${DATAVERSION}"
CI_REGISTRY_IMAGE
:
"
k8s-t0.tencentcloudcr.com/eoc/dotnet-cicd-demo"
CI_REGISTRY_IMAGE
:
"
k8s-t0.tencentcloudcr.com/eoc/dotnet-cicd-demo"
...
@@ -20,7 +20,7 @@ before_script:
...
@@ -20,7 +20,7 @@ before_script:
build-master-x86
:
build-master-x86
:
stage
:
build
stage
:
build
script
:
script
:
-
docker build -
-pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-amd64 .
-f Dockerfile --platform linux/amd64
-
docker build -
t $CI_REGISTRY_IMAGE:$FULLVERSION-amd64 . --pull
-f Dockerfile --platform linux/amd64
-
docker push $CI_REGISTRY_IMAGE:$FULLVERSION
-
docker push $CI_REGISTRY_IMAGE:$FULLVERSION
only
:
only
:
-
master
-
master
...
@@ -30,7 +30,7 @@ build-master-x86:
...
@@ -30,7 +30,7 @@ build-master-x86:
build-master-arm64
:
build-master-arm64
:
stage
:
build
stage
:
build
script
:
script
:
-
docker build --pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-arm64 .
--platform linux/arm64
-
docker build --pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-arm64 .
-
docker push $CI_REGISTRY_IMAGE:$FULLVERSION
-
docker push $CI_REGISTRY_IMAGE:$FULLVERSION
only
:
only
:
-
master
-
master
...
...
DotNetCicdDemo/Dockerfile
→
DotNetCicdDemo/Dockerfile
1
View file @
9e05203c
File moved
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