This commit is contained in:
parent
f817b858d7
commit
c725dbe60f
13
.drone.yml
13
.drone.yml
@ -4,9 +4,9 @@ type: docker
|
||||
name: docker-with-buildx
|
||||
|
||||
steps:
|
||||
|
||||
- name: docker build an publish
|
||||
image: hub.docker.struchkov.dev/docker:24.0.7-dind-alpine3.18
|
||||
- name: Release For Tag
|
||||
# https://hub.docker.com/r/library/docker
|
||||
image: hub.docker.struchkov.dev/docker:27.0.3-dind-alpine3.20
|
||||
environment:
|
||||
DOCKER_REGISTRY_TOKEN:
|
||||
from_secret: DOCKER_REGISTRY_TOKEN
|
||||
@ -31,7 +31,8 @@ trigger:
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: hub.docker.struchkov.dev/docker:24.0.7-dind-alpine3.18
|
||||
# https://hub.docker.com/r/library/docker
|
||||
image: hub.docker.struchkov.dev/docker:27.0.3-dind-alpine3.20
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
@ -43,8 +44,10 @@ volumes:
|
||||
|
||||
image_pull_secrets:
|
||||
- DOCKER_AUTH
|
||||
|
||||
# drone sign --save DockerFiles/docker-with-buildx
|
||||
---
|
||||
kind: signature
|
||||
hmac: d6f7a9f87f18f7016513f0bceda904b4ec7a68f6daffe3ce36de4c5e77b2f9a7
|
||||
hmac: 2f80bb16d68c9ff3cbbf0ee23fc3545c440665248d840f6b2e2e82a97b65ade8
|
||||
|
||||
...
|
||||
|
@ -1,5 +1,6 @@
|
||||
ARG BUILDX_VERSION=0.12.0
|
||||
ARG DOCKER_VERSION=24.0.7-dind-alpine3.18
|
||||
# https://github.com/docker/buildx/releases/
|
||||
ARG BUILDX_VERSION=0.16.0
|
||||
ARG DOCKER_VERSION=27.0.3-dind-alpine3.20
|
||||
|
||||
FROM hub.docker.struchkov.dev/alpine AS fetcher
|
||||
|
||||
@ -15,4 +16,4 @@ RUN chmod a+x /docker-buildx
|
||||
ARG DOCKER_VERSION
|
||||
FROM hub.docker.struchkov.dev/docker:${DOCKER_VERSION}
|
||||
|
||||
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
|
||||
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
|
Loading…
Reference in New Issue
Block a user