Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yichengstreet-be
Project
Project
Details
Activity
Releases
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
yichengstreet
yichengstreet-be
Commits
5a4b2241
Commit
5a4b2241
authored
Mar 10, 2025
by
zhoubin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
迁移卓易云
parent
c13be340
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
.gitlab-ci.yml
.gitlab-ci.yml
+11
-11
No files found.
.gitlab-ci.yml
View file @
5a4b2241
...
@@ -52,14 +52,14 @@ deploy:
...
@@ -52,14 +52,14 @@ deploy:
only
:
only
:
-
main
-
main
publish
:
# publish:
image
:
hub.eazytec-cloud.com/devops/oc:3.11
# image: hub.eazytec-cloud.com/devops/oc:3.11
before_script
:
# before_script:
-
oc login -p "${OKDPASS}" -u ${OKDUSER} --insecure-skip-tls-verify ${OKD}
# - oc login -p "${OKDPASS}" -u ${OKDUSER} --insecure-skip-tls-verify ${OKD}
-
oc project ${PROJECT}
# - oc project ${PROJECT}
stage
:
publish
# stage: publish
script
:
# script:
-
if [ $TAG == "master" ]; then TAG="latest"; fi
# - if [ $TAG == "master" ]; then TAG="latest"; fi
-
oc import-image ${IMAGESTREAM}:${TAG} --from=${REPO}/${NAMESPACE}/${IMAGE}:${TAG} --confirm
# - oc import-image ${IMAGESTREAM}:${TAG} --from=${REPO}/${NAMESPACE}/${IMAGE}:${TAG} --confirm
only
:
# only:
-
main
# - main
\ No newline at end of file
\ 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