更新 .gitlab-ci.yml
This commit is contained in:
parent
16a94e1767
commit
e9b1100373
@ -16,6 +16,7 @@ docker-build:
|
|||||||
tag=":$CI_COMMIT_REF_SLUG"
|
tag=":$CI_COMMIT_REF_SLUG"
|
||||||
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
|
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
|
||||||
fi
|
fi
|
||||||
|
- docker buildx use default
|
||||||
- docker buildx build -t "$CI_REGISTRY_IMAGE${tag}" --platform=linux/arm64,linux/amd64 . --push
|
- docker buildx build -t "$CI_REGISTRY_IMAGE${tag}" --platform=linux/arm64,linux/amd64 . --push
|
||||||
# Run this job in a branch where a Dockerfile exists
|
# Run this job in a branch where a Dockerfile exists
|
||||||
rules:
|
rules:
|
||||||
|
Loading…
Reference in New Issue
Block a user