diff --git a/.drone.yml b/.drone.yml index 41289cd..f6ff552 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,13 +11,6 @@ steps: pull: 'always' privileged: true - environment: - IMG: 'rakepanorama/ansible-deployment-container' - DOCKER_USER: - from_secret: 'docker_username' - DOCKER_PASS: - from_secret: 'docker_password' - volumes: - name: 'docker_socket' path: '/var/run/docker.sock' @@ -25,7 +18,7 @@ steps: commands: - 'echo building image ${IMG}' - 'docker login -u rakepanorama --password=8qE9RvDSFt2KNfyQ docker.io' - - 'docker build -t ${IMG}:v0.9 -t ${IMG}:latest -f Dockerfile.linux.amd64 .' + - 'docker build -t rakepanorama/ansible-deployment-container:v0.9 -t rakepanorama/ansible-deployment-container:latest -f Dockerfile.linux.amd64 .' - 'docker push -a' volumes: