ci: move docker jobs to build stage
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347>
This commit is contained in:
parent
b2c7c26552
commit
701416c140
|
@ -373,9 +373,9 @@ deploy_docs:
|
||||||
script:
|
script:
|
||||||
- rsync -r -e "ssh -p 2282" $CI_PROJECT_DIR/public/ docs@docs.funkwhale.audio:/htdocs/
|
- rsync -r -e "ssh -p 2282" $CI_PROJECT_DIR/public/ docs@docs.funkwhale.audio:/htdocs/
|
||||||
|
|
||||||
.docker_publish:
|
.docker:
|
||||||
interruptible: false
|
interruptible: false
|
||||||
stage: publish
|
stage: build
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
image: $CI_REGISTRY/funkwhale/ci/docker
|
image: $CI_REGISTRY/funkwhale/ci/docker
|
||||||
|
@ -409,7 +409,7 @@ deploy_docs:
|
||||||
- ~/.cargo
|
- ~/.cargo
|
||||||
|
|
||||||
docker_stable:
|
docker_stable:
|
||||||
extends: .docker_publish
|
extends: .docker
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME =~ /^[0-9]+(.[0-9]+){1,2}$/
|
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME =~ /^[0-9]+(.[0-9]+){1,2}$/
|
||||||
script:
|
script:
|
||||||
|
@ -421,7 +421,7 @@ docker_stable:
|
||||||
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE $DOCKER_LATEST_TAG -t $IMAGE_NAME:$major -t $IMAGE_NAME:$minor .
|
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE $DOCKER_LATEST_TAG -t $IMAGE_NAME:$major -t $IMAGE_NAME:$minor .
|
||||||
|
|
||||||
docker_unstable:
|
docker_unstable:
|
||||||
extends: .docker_publish
|
extends: .docker
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME !~ /^[0-9]+(.[0-9]+){1,2}$/
|
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME !~ /^[0-9]+(.[0-9]+){1,2}$/
|
||||||
script:
|
script:
|
||||||
|
@ -430,7 +430,7 @@ docker_unstable:
|
||||||
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE .
|
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE .
|
||||||
|
|
||||||
docker_dev:
|
docker_dev:
|
||||||
extends: .docker_publish
|
extends: .docker
|
||||||
only:
|
only:
|
||||||
- develop@funkwhale/funkwhale
|
- develop@funkwhale/funkwhale
|
||||||
- stable@funkwhale/funkwhale
|
- stable@funkwhale/funkwhale
|
||||||
|
|
Loading…
Reference in New Issue