mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-11-27 17:31:00 +03:00
Aktualisieren .gitlab-ci.yml
This commit is contained in:
parent
3d9e3cb88f
commit
593db0e789
@ -26,8 +26,8 @@ build:docker:
|
|||||||
script:
|
script:
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
- IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH/$CI_BUILD_REF_NAME:$CI_BUILD_REF
|
- IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH/$CI_BUILD_REF_NAME:$CI_BUILD_REF
|
||||||
- docker buildx build --progress=plain --platform linux/amd64,linux/arm64/v8 --tag $IMAGE --push .
|
- docker buildx build --progress=plain --platform linux/amd64,linux/arm64/v8 --tag $IMAGE . # --push
|
||||||
# - docker push $IMAGE
|
- docker push $IMAGE
|
||||||
- echo "CS_IMAGE=$IMAGE" > container_scanning.env
|
- echo "CS_IMAGE=$IMAGE" > container_scanning.env
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
|
Loading…
Reference in New Issue
Block a user