mirror of
https://github.com/kodxana/madiator-docker-runpod.git
synced 2024-11-22 02:40:12 +01:00
This commit is contained in:
parent
87f95fe99c
commit
a8507e3249
1 changed files with 5 additions and 50 deletions
55
.drone.yml
55
.drone.yml
|
@ -7,25 +7,16 @@ trigger:
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup-docker
|
|
||||||
image: docker:latest
|
|
||||||
privileged: true
|
|
||||||
commands:
|
|
||||||
- dockerd-entrypoint.sh & # Start Docker daemon
|
|
||||||
- sleep 20 # Give the Docker daemon some time to start
|
|
||||||
- docker buildx create --use # Set up buildx
|
|
||||||
|
|
||||||
- name: build-comfyui
|
- name: build-comfyui
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
|
||||||
- cd official-templates/better-comfyui
|
- cd official-templates/better-comfyui
|
||||||
- docker buildx bake --push --no-cache testing --label build_target=comfyui
|
- docker buildx bake --push --no-cache testing --label build_target=comfyui
|
||||||
|
|
||||||
|
@ -46,25 +37,16 @@ trigger:
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup-docker
|
|
||||||
image: docker:latest
|
|
||||||
privileged: true
|
|
||||||
commands:
|
|
||||||
- dockerd-entrypoint.sh & # Start Docker daemon
|
|
||||||
- sleep 20 # Give the Docker daemon some time to start
|
|
||||||
- docker buildx create --use # Set up buildx
|
|
||||||
|
|
||||||
- name: build-base
|
- name: build-base
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
|
||||||
- cd official-templates/better-base
|
- cd official-templates/better-base
|
||||||
- docker buildx bake --push --no-cache testing --label build_target=base
|
- docker buildx bake --push --no-cache testing --label build_target=base
|
||||||
|
|
||||||
|
@ -85,25 +67,16 @@ trigger:
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup-docker
|
|
||||||
image: docker:latest
|
|
||||||
privileged: true
|
|
||||||
commands:
|
|
||||||
- dockerd-entrypoint.sh & # Start Docker daemon
|
|
||||||
- sleep 20 # Give the Docker daemon some time to start
|
|
||||||
- docker buildx create --use # Set up buildx
|
|
||||||
|
|
||||||
- name: build-everydream2
|
- name: build-everydream2
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
|
||||||
- cd official-templates/better-everydream2
|
- cd official-templates/better-everydream2
|
||||||
- docker buildx bake --push --no-cache testing --label build_target=everydream2
|
- docker buildx bake --push --no-cache testing --label build_target=everydream2
|
||||||
|
|
||||||
|
@ -124,25 +97,16 @@ trigger:
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup-docker
|
|
||||||
image: docker:latest
|
|
||||||
privileged: true
|
|
||||||
commands:
|
|
||||||
- dockerd-entrypoint.sh & # Start Docker daemon
|
|
||||||
- sleep 20 # Give the Docker daemon some time to start
|
|
||||||
- docker buildx create --use # Set up buildx
|
|
||||||
|
|
||||||
- name: build-ollama
|
- name: build-ollama
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
|
||||||
- cd official-templates/better-ollama
|
- cd official-templates/better-ollama
|
||||||
- docker buildx bake --push --no-cache testing --label build_target=ollama
|
- docker buildx bake --push --no-cache testing --label build_target=ollama
|
||||||
|
|
||||||
|
@ -163,25 +127,16 @@ trigger:
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup-docker
|
|
||||||
image: docker:latest
|
|
||||||
privileged: true
|
|
||||||
commands:
|
|
||||||
- dockerd-entrypoint.sh & # Start Docker daemon
|
|
||||||
- sleep 20 # Give the Docker daemon some time to start
|
|
||||||
- docker buildx create --use # Set up buildx
|
|
||||||
|
|
||||||
- name: build-pytorch
|
- name: build-pytorch
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
|
||||||
- cd official-templates/better-pytorch
|
- cd official-templates/better-pytorch
|
||||||
- docker buildx bake --push --no-cache testing --label build_target=pytorch
|
- docker buildx bake --push --no-cache testing --label build_target=pytorch
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue