mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
Pass static url to match project
This commit is contained in:
parent
68f782ef0f
commit
8573125351
@ -15,7 +15,6 @@ variables:
|
||||
|
||||
stages:
|
||||
- build-deemix
|
||||
#- create-release
|
||||
- build-docker-image
|
||||
- create-release
|
||||
|
||||
@ -106,7 +105,7 @@ build-docker-image:
|
||||
- docker buildx create --name multibuilder
|
||||
- docker buildx use multibuilder
|
||||
# build and push, still need fix download url in dockerfile
|
||||
- docker buildx build --platform "${PLATFORMS}" --build-arg BUILDDATE=$DATE -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} -t ${CI_REGISTRY_IMAGE} . --push
|
||||
- docker buildx build --platform "${PLATFORMS}" --build-arg BUILDDATE=$DATE --build-arg STATIC_URL=$PACKAGE_REGISTRY_URL_STATIC -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} -t ${CI_REGISTRY_IMAGE} . --push
|
||||
# Also can do using date, so we dont dependant on latest, in case application break again.
|
||||
#- docker buildx build --platform "${PLATFORMS}" -t ${CI_REGISTRY_IMAGE}:${DATE} -t $CI_REGISTRY_IMAGE:${IMAGE_TAG} . --push
|
||||
only:
|
||||
|
Loading…
Reference in New Issue
Block a user