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