This commit is contained in:
Struchkov Mark 2023-02-19 23:53:57 +03:00
parent 7b9568d4f1
commit d7c9e259f9
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
3 changed files with 9 additions and 19 deletions

View File

@ -1,3 +1,4 @@
---
kind: pipeline
type: docker
name: docker-with-buildx
@ -38,3 +39,8 @@ services:
volumes:
- name: dockersock
temp: {}
---
kind: signature
hmac: 8717317b5c00e17259b1386f95862b486027882b40814ab20145c25c9e65984b
...

View File

@ -1,16 +0,0 @@
image: docker:latest
build:
stage: deploy
only:
- /^v.*$/
except:
- branches
services:
- docker:dind
before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin
script:
- docker build --no-cache -t "$CI_REGISTRY_IMAGE:latest" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" .
- docker push "$CI_REGISTRY_IMAGE:latest"
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"

View File

@ -1,5 +1,5 @@
ARG BUILDX_VERSION=0.9.1
ARG DOCKER_VERSION=20.10.22-dind-alpine3.17
ARG BUILDX_VERSION=0.10.3
ARG DOCKER_VERSION=20.10.23-dind-alpine3.17
FROM alpine AS fetcher