This commit is contained in:
Hamza Ahmed
2023-03-29 10:08:44 +00:00
parent 4dd7b200f5
commit 4781bc4afb
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -3,7 +3,8 @@ image: jdrouet/docker-with-buildx:stable
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
VERSION: 0.0.1
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$VERSION
services:
- docker:dind
@@ -15,4 +16,4 @@ build:
- docker buildx create --use
- docker buildx build --no-cache --platform linux/arm64,linux/amd64 -t $IMAGE_TAG --push .
only:
- main
- staging