fix docker build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kieran 2024-05-16 16:08:20 +01:00
parent 5c8cb7d359
commit d4b9ce63f5
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -26,7 +26,7 @@ steps:
- yarn install - yarn install
- yarn build - yarn build
- name: build docker image - name: build docker image
image: r.j3ss.co/img image: docker
privileged: true privileged: true
volumes: volumes:
- name: cache - name: cache
@ -35,9 +35,10 @@ steps:
TOKEN: TOKEN:
from_secret: docker_hub from_secret: docker_hub
commands: commands:
- img login -u voidic -p $TOKEN - dockerd &
- img build -t voidic/dtan:latest --platform linux/amd64,linux/arm64 . - docker login -u voidic -p $TOKEN
- img push voidic/dtan:latest - docker buildx build --push -t voidic/dtan:latest --platform linux/amd64,linux/arm64 .
- kill $(cat /var/run/docker.pid)
volumes: volumes:
- name: cache - name: cache
claim: claim: