ci: always pull version pinned images
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-02-15 20:40:52 +01:00
parent 48f8e890a2
commit ad42b9f847
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 17 additions and 5 deletions

View File

@ -41,6 +41,7 @@ local PipelineBuildContainer(arch='amd64') = {
{
name: 'dryrun',
image: 'thegeeklab/drone-docker-buildx:20',
pull: 'always',
settings: {
dry_run: true,
dockerfile: 'Dockerfile.' + std.split(arch, '_')[0],
@ -58,7 +59,8 @@ local PipelineBuildContainer(arch='amd64') = {
},
{
name: 'publish-dockerhub',
image: 'thegeeklab/drone-docker-buildx',
image: 'thegeeklab/drone-docker-buildx:20',
pull: 'always',
settings: {
dockerfile: 'Dockerfile.' + std.split(arch, '_')[0],
repo: 'thegeeklab/${DRONE_REPO_NAME}',
@ -73,6 +75,7 @@ local PipelineBuildContainer(arch='amd64') = {
{
name: 'publish-quay',
image: 'thegeeklab/drone-docker-buildx:20',
pull: 'always',
settings: {
dockerfile: 'Dockerfile.' + std.split(arch, '_')[0],
registry: 'quay.io',

View File

@ -37,6 +37,7 @@ steps:
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.amd64
@ -55,7 +56,8 @@ steps:
- tags
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.amd64
password:
@ -71,6 +73,7 @@ steps:
- tags
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.amd64
@ -115,6 +118,7 @@ steps:
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.arm64
@ -133,7 +137,8 @@ steps:
- tags
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.arm64
password:
@ -149,6 +154,7 @@ steps:
- tags
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.arm64
@ -193,6 +199,7 @@ steps:
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.arm
@ -211,7 +218,8 @@ steps:
- tags
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.arm
password:
@ -227,6 +235,7 @@ steps:
- tags
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.arm
@ -346,6 +355,6 @@ depends_on:
---
kind: signature
hmac: b62b48151b2d28bd01c00b5cd43d37bfa681c75a235a9718eb2d5d93f0aa4e2a
hmac: 5ba92b782daeae19415d7cecc8bcd0027f539c7e3c2c97794fba97ef8352f331
...