„.drone.yml“ ändern
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Artem Anufrij 2023-02-13 22:37:20 +01:00
parent 1248244a63
commit 0b59441fb3

View File

@ -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 .