From f71d795f1d0cf7da201d2f57a9d53fb27b45d356 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Sun, 17 Oct 2021 17:36:33 -0300 Subject: [PATCH] Make sure we always pull the latest image --- .drone.jsonnet | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.jsonnet b/.drone.jsonnet index f5d299a71..7fe7dc2ac 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -48,6 +48,7 @@ local debian_pipeline(name, { name: 'build', image: image, + pull: 'always', [if allow_fail then 'failure']: 'ignore', environment: { SSH_KEY: { from_secret: 'SSH_KEY' } }, commands: [ @@ -90,6 +91,7 @@ local apk_builder(name, image, extra_cmds=[], allow_fail=false, jobs=6) = { { name: 'build', image: image, + pull: 'always', [if allow_fail then 'failure']: 'ignore', environment: { SSH_KEY: { from_secret: 'SSH_KEY' }, ANDROID: 'android' }, commands: [ @@ -126,6 +128,7 @@ local windows_cross_pipeline(name, { name: 'build', image: image, + pull: 'always', [if allow_fail then 'failure']: 'ignore', environment: { SSH_KEY: { from_secret: 'SSH_KEY' }, WINDOWS_BUILD_NAME: toolchain + 'bit' }, commands: [ @@ -154,6 +157,7 @@ local deb_builder(image, distro, distro_branch, arch='amd64', loki_repo=true) = { name: 'build', image: image, + pull: 'always', failure: 'ignore', environment: { SSH_KEY: { from_secret: 'SSH_KEY' } }, commands: [ @@ -250,6 +254,7 @@ local mac_builder(name, steps: [{ name: 'build', image: docker_base + 'lint', + pull: 'always', commands: [ 'echo "Building on ${DRONE_STAGE_MACHINE}"', apt_get_quiet + ' update',