From 0b59441fb3e0c7cded5588d1647cf9d485015f1c Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Mon, 13 Feb 2023 22:37:20 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.drone.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7a913c5..6e8bb31 100644 --- a/.drone.yml +++ b/.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}" \ No newline at end of file + commands: + - docker build -t myimage:$DRONE_BUILD_NUMBER . \ No newline at end of file