Remove workaround for cloning.
This commit is contained in:
parent
775bad26bc
commit
4d57b70206
1 changed files with 2 additions and 18 deletions
20
.drone.yml
20
.drone.yml
|
|
@ -3,19 +3,11 @@ kind: pipeline
|
|||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- nslookup git.thegibsonhome.net
|
||||
- echo 192.168.128.15 git.thegibsonhome.net >> /etc/hosts
|
||||
- git clone https://git.thegibsonhome.net/docker/protonmail-bridge.git/ .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
environment:
|
||||
DOCKER
|
||||
settings:
|
||||
registry: registry.thegibsonhome.net
|
||||
username:
|
||||
|
|
@ -36,15 +28,7 @@ kind: pipeline
|
|||
type: docker
|
||||
name: tag
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone https://git.thegibsonhome.net/docker/protonmail-bridge.git/ .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue