Compare commits

..

No commits in common. "996accda36ec415282e11d4bc97b24efb3573494" and "8d9417225c3aadc36596b9306850414b33beccbb" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -1,16 +1,12 @@
image: docker:latest
build:
stage: deploy
only:
- /^v.*$/
except:
- branches
- main
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.9.1
ARG BUILDX_VERSION=0.7.1
ARG DOCKER_VERSION=latest
FROM alpine AS fetcher