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
5d76bfce
Commit
5d76bfce
authored
Aug 14, 2025
by
shipengwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.aipark.com:eoc-group/dotnet-cicd-demo
parents
d29bb94a
4634a18d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
.gitlab-ci.yml
.gitlab-ci.yml
+18
-8
No files found.
.gitlab-ci.yml
View file @
5d76bfce
...
...
@@ -13,18 +13,27 @@ before_script:
-
echo $CI_COMMIT_REF_SLUG
-
docker login -u 'tcr$eoc' -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build-master
:
build-master
-x86
:
stage
:
build
script
:
-
docker build --pull -t $CI_REGISTRY_IMAGE .
-
docker push $CI_REGISTRY_IMAGE
-
docker build --pull -t $CI_REGISTRY_IMAGE
:$CI_COMMIT_SHORT_SHA-$RUNNER_ARCH
.
-
docker push $CI_REGISTRY_IMAGE
:$CI_COMMIT_SHORT_SHA-$RUNNER_ARCH
only
:
-
master
parallel
:
matrix
:
-
RUNNER_TAG
:
"
linux-x86"
RUNNER_ARCH
:
"
x86_64"
-
RUNNER_TAG
:
"
linux-arm"
RUNNER_ARCH
:
"
aarch64"
tags
:
-
$RUNNER_TAG
build
:
stage
:
build
script
:
-
docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
#
build:
#
stage: build
#
script:
#
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
#
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
# except:
# - master
\ No newline at end of file
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