mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ci: fix docker build
This commit is contained in:
parent
873305dadb
commit
d12d8ff4d4
1 changed files with 7 additions and 2 deletions
|
@ -28,7 +28,9 @@ before_script:
|
|||
docker-dev:
|
||||
stage: prepare
|
||||
script:
|
||||
- docker build -f packaging/docker/Dockerfile.dev -t ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV} .
|
||||
- docker build
|
||||
--file packaging/docker/Dockerfile.dev
|
||||
--tag ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV} .
|
||||
tags:
|
||||
- shell
|
||||
- linux
|
||||
|
@ -158,7 +160,10 @@ deploy:packages:
|
|||
docker:
|
||||
stage: docker
|
||||
script:
|
||||
- docker build -f packaging/docker/Dockerfile.app -t ${DOCKER_IMAGE}:${DOCKER_TAG_DEV} .
|
||||
- docker build
|
||||
--build-arg BUILDER_IMAGE=${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
|
||||
--file packaging/docker/Dockerfile.app
|
||||
--tag ${DOCKER_IMAGE}:${DOCKER_TAG_DEV} .
|
||||
- docker push ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
|
||||
tags:
|
||||
- shell
|
||||
|
|
Loading…
Add table
Reference in a new issue