Skip to content
Snippets Groups Projects
Verified Commit 3ca96bd5 authored by Georg Krause's avatar Georg Krause
Browse files

ci(docker): build image

parent 5135a6c0
No related branches found
No related tags found
1 merge request!43Apply patches from the server
Pipeline #26117 passed with stages
in 5 minutes
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment