Update .gitlab-ci.yml

This commit is contained in:
TheJoKlLa 2022-05-23 19:22:17 +00:00
parent 759e728efb
commit d5ea4641ad

View File

@ -29,7 +29,7 @@ docker-build:
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag" echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi fi
- docker buildx create --use - docker buildx create --use
- docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/386,linux/amd64 --tag "$CI_REGISTRY_IMAGE${tag}" . - docker buildx build --push --platform linux/arm/v7,linux/386,linux/amd64 --tag "$CI_REGISTRY_IMAGE${tag}" .
# Run this job in a branch where a Dockerfile exists # Run this job in a branch where a Dockerfile exists
rules: rules:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH