This commit is contained in:
parent
1248244a63
commit
0b59441fb3
11
.drone.yml
11
.drone.yml
@ -11,12 +11,7 @@ steps:
|
|||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
- name: docker
|
- name: docker-build
|
||||||
image: docker
|
image: docker
|
||||||
script:
|
commands:
|
||||||
- docker login code.anufrij.de -u "${my_registry}" -p "${DOCKERHUBPW}"
|
- docker build -t myimage:$DRONE_BUILD_NUMBER .
|
||||||
- echo "Building container image $container_image"
|
|
||||||
- docker build -t "${container_image}" .
|
|
||||||
- docker run "${container_image}"
|
|
||||||
- docker tag "${container_image}" "${my_registry}"/"${container_image}":"${env_tag}"
|
|
||||||
- docker push "${my_registry}"/"${container_image}":"${env_tag}"
|
|
Loading…
Reference in New Issue
Block a user