File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,14 @@ docker-build:
2323 # All branches are tagged with $DOCKER_IMAGE_NAME (defaults to commit ref slug)
2424 # Default branch is also tagged with `latest`
2525 script :
26- - docker buildx create --use
27- - |
28- if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
29- docker buildx build --platform linux/amd64,linux/arm64 --push -t "$DOCKER_IMAGE_NAME" -t "$CI_REGISTRY_IMAGE:latest" .
30- else
31- docker buildx build --platform linux/amd64,linux/arm64 --push -t "$DOCKER_IMAGE_NAME" .
32- fi
26+ - docker buildx create --use
27+ # doamne ajuta
28+ - |
29+ if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
30+ docker buildx build --platform linux/amd64,linux/arm64 --push -t "$DOCKER_IMAGE_NAME" -t "$CI_REGISTRY_IMAGE:latest" .
31+ else
32+ docker buildx build --platform linux/amd64,linux/arm64 --push -t "$DOCKER_IMAGE_NAME" .
33+ fi
3334 # Run this job in a branch where a Dockerfile exists
3435 rules :
3536 - if : $CI_COMMIT_BRANCH
You can’t perform that action at this time.
0 commit comments