Skip to content

Commit

Permalink
Update .drone.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski authored Feb 16, 2021
1 parent 319660d commit 7ade37a
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,43 +77,43 @@ trigger:
depends_on:
- testing

---
kind: pipeline
type: ssh
name: windows-1903-amd64-docker

platform:
os: windows

server:
host: windows.1903.amd64.plugins.drone.ci
password:
from_secret: windows_password
user:
from_secret: windows_username

steps:
- name: build
commands:
# TODO use the new DRONE_SEMVER_SHORT environment variables to
# publish docker images for tag events.
- go build -o release/windows/amd64/drone-docker.exe ./cmd/drone-docker
- docker login -u $env:USERNAME -p $env:PASSWORD
- docker build -f docker/docker/Dockerfile.windows.1903 -t plugins/docker:windows-1903-amd64 .
- docker push plugins/docker:windows-1903-amd64
environment:
CGO_ENABLED: "0"
USERNAME:
from_secret: docker_username
PASSWORD:
from_secret: docker_password

trigger:
event:
- push

depends_on:
- testing
# ---
# kind: pipeline
# type: ssh
# name: windows-1903-amd64-docker

# platform:
# os: windows

# server:
# host: windows.1903.amd64.plugins.drone.ci
# password:
# from_secret: windows_password
# user:
# from_secret: windows_username

# steps:
# - name: build
# commands:
# # TODO use the new DRONE_SEMVER_SHORT environment variables to
# # publish docker images for tag events.
# - go build -o release/windows/amd64/drone-docker.exe ./cmd/drone-docker
# - docker login -u $env:USERNAME -p $env:PASSWORD
# - docker build -f docker/docker/Dockerfile.windows.1903 -t plugins/docker:windows-1903-amd64 .
# - docker push plugins/docker:windows-1903-amd64
# environment:
# CGO_ENABLED: "0"
# USERNAME:
# from_secret: docker_username
# PASSWORD:
# from_secret: docker_password

# trigger:
# event:
# - push

# depends_on:
# - testing

---
kind: pipeline
Expand Down Expand Up @@ -441,11 +441,11 @@ trigger:

depends_on:
- windows-1809-amd64-docker
- windows-1903-amd64-docker
- windows-1909-amd64-docker
- linux-amd64-docker
- linux-arm64-docker
- linux-arm-docker
# - windows-1903-amd64-dfocker

---
kind: pipeline
Expand Down Expand Up @@ -1539,4 +1539,4 @@ depends_on:
- linux-arm-acr


...
...

0 comments on commit 7ade37a

Please sign in to comment.