ci: use shared ci docker image for docker jobs

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286>
This commit is contained in:
jo 2023-01-18 23:57:50 +01:00
parent 195fb2d8fb
commit 6662408fb3
1 changed files with 4 additions and 3 deletions

View File

@ -351,10 +351,13 @@ deploy_docs:
.docker_publish: .docker_publish:
stage: publish stage: publish
image: egon0/docker-with-buildx-and-git:bash
image: $CI_REGISTRY/funkwhale/ci/docker
parallel: parallel:
matrix: matrix:
- COMPONENT: ["api", "front"] - COMPONENT: ["api", "front"]
services:
- docker:20-dind
variables: variables:
<<: *keep_git_files_permissions <<: *keep_git_files_permissions
@ -368,8 +371,6 @@ deploy_docs:
BUILD_PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7 BUILD_PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
tags: tags:
- multiarch - multiarch
services:
- docker:20-dind
before_script: before_script:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
cache: cache: