mirror of
https://git.v0l.io/Kieran/dtan.git
synced 2025-01-18 12:41:34 +00:00
fix docker build
This commit is contained in:
parent
5c8cb7d359
commit
d4b9ce63f5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user