From 6fb5234724fc2e61878054e8333b4bdf29c66f04 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Mon, 20 Dec 2021 18:22:44 -0500 Subject: [PATCH] pin drone container version to deal with docker hub instability --- .drone.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index b8ffb67..31d3246 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: linux-android-windows-test steps: - name: fetch - image: golang + image: golang:1.17.5 volumes: - name: deps path: /go @@ -23,7 +23,7 @@ steps: - echo `date +%G-%m-%d-%H-%M` > BUILDDATE - name: quality - image: golang + image: golang:1.17.5 volumes: - name: deps path: /go @@ -33,7 +33,7 @@ steps: #Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting - name: build-linux - image: golang + image: golang:1.17.5 volumes: - name: deps path: /go @@ -62,6 +62,7 @@ steps: - name: deploy-buildfiles image: kroniak/ssh-client + pull: if-not-exists environment: BUILDFILES_KEY: from_secret: buildfiles_key @@ -86,6 +87,7 @@ steps: - name: gitea-release image: plugins/gitea-release + pull: if-not-exists when: event: tag settings: @@ -104,6 +106,7 @@ steps: - name: notify-email image: drillster/drone-email + pull: if-not-exists settings: host: build.openprivacy.ca port: 25 @@ -114,6 +117,7 @@ steps: - name: notify-gogs image: openpriv/drone-gogs + pull: if-not-exists when: event: pull_request status: [ success, changed, failure ]