feat: update drone

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-03-30 00:26:45 +01:00
parent 70e5aaa107
commit 6ff4db69bf
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -26,7 +26,7 @@ steps:
- chmod 700 ~/.ssh/config
- name: build pr
image: kasperhermansen/cuddle-rust-service-plan:main-1708174719
image: kasperhermansen/cuddle-rust-cli-plan:main-1708174719
pull: always
volumes:
- name: ssh
@ -36,7 +36,7 @@ steps:
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-dev
- cuddle-rust-service-plan pr
- cuddle-rust-cli-plan pr
environment:
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
@ -72,7 +72,7 @@ steps:
- "load_secret"
- name: build main
image: kasperhermansen/cuddle-rust-service-plan:main-1708174719
image: kasperhermansen/cuddle-rust-cli-plan:main-1708174719
pull: always
volumes:
- name: ssh
@ -82,7 +82,7 @@ steps:
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-prod
- cuddle-rust-service-plan main
- cuddle-rust-cli-plan main
environment:
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username