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