Skip to content

Commit

Permalink
Removing docker build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Oct 23, 2021
1 parent ac28e59 commit 8e6ccb6
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,11 @@ steps:
commands:
- cargo deb

- name: build-docker
image: docker:stable
commands:
- apk add git bash
- ./ci/build_docker.sh
volumes:
- name: docker_sock
path: /var/run/docker.sock

- name: build-rpm
image: casperlabs/rpm-package
commands:
- cargo rpm build -v

volumes:
- name: docker_sock
host:
path: /var/run/docker.sock

trigger:
branch:
- main
Expand Down Expand Up @@ -128,29 +114,6 @@ steps:
deb_path: './target/debian'
deb_name: '*.deb'

- name: build-docker
image: docker:stable
commands:
- apk add git bash
- ./ci/build_docker.sh
volumes:
- name: docker_sock
path: /var/run/docker.sock

- name: push-docker
image: docker:stable
commands:
- apk add git bash
- ./ci/push_docker.sh
volumes:
- name: docker_sock
path: /var/run/docker.sock
environment:
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_PASSWORD:
from_secret: docker_password

- name: build-rpm
image: casperlabs/rpm-package
commands:
Expand All @@ -174,13 +137,6 @@ steps:
ref:
- refs/tags/v*

# Need to attach rpm to github artifacts.

volumes:
- name: docker_sock
host:
path: /var/run/docker.sock

trigger:
ref:
- refs/tags/v*
Expand Down

0 comments on commit 8e6ccb6

Please sign in to comment.