Упрощение сборки

This commit is contained in:
Struchkov Mark 2024-09-07 10:14:21 +03:00
parent 038aad9015
commit 6f04db5d09
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -39,8 +39,10 @@ steps:
- sleep 15
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
- echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
- docker buildx create --use
- docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t "docker.struchkov.dev/quartz:develop" .
- docker build -t "docker.struchkov.dev/quartz:develop" .
- docker push docker.struchkov.dev/quartz:develop
# - docker buildx create --use
# - docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t "docker.struchkov.dev/quartz:develop" .
---
kind: pipeline
type: docker
@ -93,6 +95,6 @@ steps:
# drone sign --save DockerFiles/quartz
---
kind: signature
hmac: cf0faf7e69ed98a6c0191b3578f874c41d6a297645bcf5c8cc1994c540f207ba
hmac: 27395716fe77ffcb190d0c6cbbc867ede272b3a79ee25dc23672f24459054b22
...