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
f9d0c076
Commit
f9d0c076
authored
Aug 18, 2025
by
shipengwei
Browse files
Options
Browse Files
Download
Plain Diff
edit
parents
99540933
e1aedc36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
.gitlab-ci.yml
.gitlab-ci.yml
+2
-3
No files found.
.gitlab-ci.yml
View file @
f9d0c076
...
@@ -11,6 +11,7 @@ services:
...
@@ -11,6 +11,7 @@ services:
-
docker:dind
-
docker:dind
before_script
:
before_script
:
-
echo $CI_REGISTRY_USER
-
echo $CI_REGISTRY_IMAGE
-
echo $CI_REGISTRY_IMAGE
-
FULLVERSION=$BASE_VERSION.$(date +"%y%m%d%H%M")
-
FULLVERSION=$BASE_VERSION.$(date +"%y%m%d%H%M")
...
@@ -43,9 +44,7 @@ build-master-arm64:
...
@@ -43,9 +44,7 @@ build-master-arm64:
build-manifest
:
build-manifest
:
stage
:
build
stage
:
build
script
:
script
:
-
docker manifest create $CI_REGISTRY_IMAGE:$FULLVERSION
-
docker manifest create $CI_REGISTRY_IMAGE:$FULLVERSION $CI_REGISTRY_IMAGE:$FULLVERSION-amd64 $CI_REGISTRY_IMAGE:$FULLVERSION-arm64
$CI_REGISTRY_IMAGE:$FULLVERSION-amd64
$CI_REGISTRY_IMAGE:$FULLVERSION-arm64
-
docker manifest push $CI_REGISTRY_IMAGE:$FULLVERSION
-
docker manifest push $CI_REGISTRY_IMAGE:$FULLVERSION
only
:
only
:
-
master
-
master
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