mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Test agin
This commit is contained in:
parent
1075632c6e
commit
decb10b69c
|
@ -7,6 +7,10 @@ stages:
|
|||
Gradle Build:
|
||||
image: openjdk:8
|
||||
stage: build
|
||||
only:
|
||||
- branches
|
||||
- tags
|
||||
- merge_requests
|
||||
|
||||
before_script:
|
||||
- export VERSION="${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}"
|
||||
|
@ -21,7 +25,7 @@ Publish Artifacts:
|
|||
image: alpine
|
||||
stage: publish
|
||||
dependencies:
|
||||
- build
|
||||
- Gradle Build
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
|
||||
|
@ -44,7 +48,7 @@ Docker Build:
|
|||
- docker:20.10.8-dind
|
||||
stage: docker
|
||||
dependencies:
|
||||
- build
|
||||
- Gradle Build
|
||||
|
||||
before_script:
|
||||
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin ${CI_REGISTRY}
|
||||
|
@ -75,13 +79,17 @@ Docker Build:
|
|||
|
||||
Push Latest:
|
||||
<<: *docker_push
|
||||
dependencies:
|
||||
- Docker Build
|
||||
only:
|
||||
- master
|
||||
- master
|
||||
variables:
|
||||
NEW_TAG: latest
|
||||
|
||||
Push Tags:
|
||||
<<: *docker_push
|
||||
dependencies:
|
||||
- Docker Build
|
||||
only:
|
||||
- tags
|
||||
variables:
|
||||
|
|
Loading…
Reference in a new issue