mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 09:22:01 +00:00
docs(docker): add tags for specific versions and latest builds
update gitlabci: do not run docker build if CP_VERSION.env file is not present
This commit is contained in:
parent
f9572e4125
commit
3419369af0
@ -165,11 +165,8 @@ docker:
|
|||||||
strategy: depend
|
strategy: depend
|
||||||
variables:
|
variables:
|
||||||
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
|
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
|
||||||
only:
|
rules:
|
||||||
refs:
|
- if: ($CI_COMMIT_BRANCH == "alpha" || $CI_COMMIT_BRANCH == "alpha" || $CI_COMMIT_BRANCH == "beta") && $CI_PROJECT_NAMESPACE == "adaures"
|
||||||
- develop
|
exists:
|
||||||
- main
|
- CP_VERSION.env
|
||||||
- beta
|
- if: ($CI_COMMIT_BRANCH == "develop" && $CI_PROJECT_NAMESPACE == "adaures")
|
||||||
- alpha
|
|
||||||
variables:
|
|
||||||
- $CI_PROJECT_NAMESPACE == "adaures"
|
|
||||||
|
@ -21,6 +21,8 @@ can be added as a cache handler.
|
|||||||
- `develop` [unstable], latest development branch build
|
- `develop` [unstable], latest development branch build
|
||||||
- `beta` [stable], latest beta version build
|
- `beta` [stable], latest beta version build
|
||||||
- `1.0.0-beta.x` [stable], specific beta version build (since `1.0.0-beta.22`)
|
- `1.0.0-beta.x` [stable], specific beta version build (since `1.0.0-beta.22`)
|
||||||
|
- `latest` [stable], latest version build
|
||||||
|
- `1.x.x` [stable], specific version build (since `1.0.0`)
|
||||||
|
|
||||||
## Example usage
|
## Example usage
|
||||||
|
|
||||||
@ -33,7 +35,7 @@ can be added as a cache handler.
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: castopod/app:beta
|
image: castopod/app:latest
|
||||||
container_name: "castopod-app"
|
container_name: "castopod-app"
|
||||||
volumes:
|
volumes:
|
||||||
- castopod-media:/opt/castopod/public/media
|
- castopod-media:/opt/castopod/public/media
|
||||||
@ -51,7 +53,7 @@ can be added as a cache handler.
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
web-server:
|
web-server:
|
||||||
image: castopod/web-server:beta
|
image: castopod/web-server:latest
|
||||||
container_name: "castopod-web-server"
|
container_name: "castopod-web-server"
|
||||||
volumes:
|
volumes:
|
||||||
- castopod-media:/var/www/html/media
|
- castopod-media:/var/www/html/media
|
||||||
|
Loading…
x
Reference in New Issue
Block a user