убрал buildx
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2023-02-20 00:04:36 +03:00
parent e8ed28554f
commit f51bca7e1c
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -20,10 +20,10 @@ steps:
commands:
- sleep 15
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
- docker buildx create --use
- docker buildx build --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:latest" .
# - docker build -t "$DOCKER_IMAGE_NAME:latest" .
# - docker push "$DOCKER_IMAGE_NAME:latest"
# - docker buildx create --use
# - docker buildx build --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:latest" .
- docker build -t "$DOCKER_IMAGE_NAME:latest" .
- docker push "$DOCKER_IMAGE_NAME:latest"
trigger:
branch: