Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
network
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
9
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
network
Commits
3ca96bd5
Verified
Commit
3ca96bd5
authored
2 years ago
by
Georg Krause
Browse files
Options
Downloads
Patches
Plain Diff
ci(docker): build image
parent
5135a6c0
No related branches found
No related tags found
1 merge request
!43
Apply patches from the server
Pipeline
#26117
passed with stages
in 5 minutes
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
with
18 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
3ca96bd5
...
...
@@ -5,6 +5,9 @@ stages:
variables
:
POSTGRES_PASSWORD
:
postgres
POSTGRES_DB
:
funkwhale_network
DOCKER_HOST
:
tcp://docker:2375/
DOCKER_DRIVER
:
overlay2
DOCKER_TLS_CERTDIR
:
"
"
tests
:
stage
:
test
...
...
@@ -21,3 +24,18 @@ tests:
-
poetry run pytest
variables
:
DB_DSN
:
user=postgres password=postgres dbname=funkwhale_network host=db
build
:
only
:
-
main
stage
:
build
image
:
egon0/docker-with-buildx-and-git:bash
tags
:
-
dind
services
:
-
docker:20-dind
before_script
:
-
docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
script
:
-
docker build . -t funkwhale/network
-
docker push funkwhale/network
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment