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