„.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 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}"