Compare commits

...

5 Commits

Author SHA1 Message Date
996accda36 BUILDX_VERSION 0.9.1 2022-12-04 12:07:19 +03:00
Struchkov Mark
368b20acc9 image 2022-01-26 14:32:33 +00:00
Struchkov Mark
e92b4ad5c1 Update .gitlab-ci.yml 2022-01-26 14:29:38 +00:00
Struchkov Mark
015371848a Update .gitlab-ci.yml 2022-01-26 14:26:48 +00:00
Struchkov Mark
3c262dc3e3 fix 2022-01-26 14:24:53 +00:00
2 changed files with 7 additions and 3 deletions

View File

@ -1,12 +1,16 @@
image: docker:latest
build:
stage: deploy
only:
- main
- /^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 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,4 +1,4 @@
ARG BUILDX_VERSION=0.7.1
ARG BUILDX_VERSION=0.9.1
ARG DOCKER_VERSION=latest
FROM alpine AS fetcher