This commit is contained in:
@@ -15,11 +15,10 @@ environment:
|
||||
|
||||
steps:
|
||||
- name: build image
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
image: plugins/docker
|
||||
commands:
|
||||
- cd /drone/src/
|
||||
- docker buildx create --name mybuilder --use --bootstrap
|
||||
- docker buildx build --platform linux/amd64,linux/arm64 --tag $${REGISTRY_SERVER_NAME}/$${IMAGE_NAME} -f Dockerfile .
|
||||
- docker build --platform linux/amd64 --tag $${REGISTRY_SERVER_NAME}/$${IMAGE_NAME} -f Dockerfile .
|
||||
- docker push $${REGISTRY_SERVER_NAME}/$${IMAGE_NAME}
|
||||
when:
|
||||
branch:
|
||||
|
Reference in New Issue
Block a user