Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-go-cqhttp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
docker-go-cqhttp
Commits
29729b68
Commit
29729b68
authored
Aug 19, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2ddb14da
Pipeline
#15905
failed with stages
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
.gitlab-ci.yml
.gitlab-ci.yml
+21
-2
No files found.
.gitlab-ci.yml
View file @
29729b68
stages
:
-
fetch
-
build
-
deploy
variables
:
GIT_DEPTH
:
"
1"
before_script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
.docker-op
:
before_script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
fetch_source
:
stage
:
fetch
tags
:
-
linux
script
:
-
git clone --depth=1 -b $GO_CQHTTP_VERSION https://github.com/Mrs4s/go-cqhttp
-
rm -rf go-cqhttp/.git*
-
echo 'CMD [ "-faststart" ]' >> go-cqhttp/Dockerfile
artifacts
:
paths
:
-
./go-cqhttp
.build-image
:
extends
:
.docker-op
dependencies
:
-
fetch_source
stage
:
build
script
:
-
cd go-cqhttp
-
docker build --pull -t $TARGET_IMAGE .
-
docker push $TARGET_IMAGE
...
...
@@ -28,6 +46,7 @@ build-arm:
TARGET_IMAGE
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-arm
.deploy
:
extends
:
.docker-op
stage
:
deploy
tags
:
-
docker
...
...
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