fix(ci): fix ci
This commit is contained in:
parent
582d2a7adf
commit
dfc5e03dd9
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ stages:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
stage: build-and-push
|
stage: build-and-push
|
||||||
script:
|
script:
|
||||||
- docker build -t "$IMAGE_NAME:$IMAGE_TAG" --build-arg DATABASE_URL="$DATABASE_URL" .
|
- echo "DATABASE_URL=$DATABASE_URL" > .env
|
||||||
|
- docker build -t "$IMAGE_NAME:$IMAGE_TAG" .
|
||||||
- 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