fix(ci): add database url to env of docker build command
This commit is contained in:
parent
fa623d0937
commit
8b690be676
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ stages:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
stage: build-and-push
|
stage: build-and-push
|
||||||
script:
|
script:
|
||||||
- docker build -t "$IMAGE_NAME:$IMAGE_TAG" .
|
- docker build -t "$IMAGE_NAME:$IMAGE_TAG" -e DATABASE_URL .
|
||||||
- docker tag "$IMAGE_NAME:$IMAGE_TAG" "$IMAGE_NAME:latest"
|
- docker tag "$IMAGE_NAME:$IMAGE_TAG" "$IMAGE_NAME:latest"
|
||||||
- docker push "$IMAGE_NAME:$IMAGE_TAG"
|
- docker push "$IMAGE_NAME:$IMAGE_TAG"
|
||||||
- docker push "$IMAGE_NAME:latest"
|
- docker push "$IMAGE_NAME:latest"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue