chore(ci): fix release step
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
d64a1d15dc
commit
56d33e2ca5
14
.drone.yml
14
.drone.yml
@ -90,7 +90,6 @@ steps:
|
|||||||
- chmod -R 600 ~/.ssh
|
- chmod -R 600 ~/.ssh
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
|
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
|
||||||
- ldd $CI_PREFIX
|
|
||||||
- apk add git
|
- apk add git
|
||||||
- cuddle x ci:main
|
- cuddle x ci:main
|
||||||
environment:
|
environment:
|
||||||
@ -127,18 +126,25 @@ steps:
|
|||||||
path: /root/.ssh/
|
path: /root/.ssh/
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
- name: ci
|
||||||
|
path: /mnt/ci
|
||||||
commands:
|
commands:
|
||||||
- eval `ssh-agent`
|
- eval `ssh-agent`
|
||||||
- chmod -R 600 ~/.ssh
|
- chmod -R 600 ~/.ssh
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- cuddle x build:release:all
|
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
|
||||||
- cuddle x deploy:docs:preview
|
- apk add git
|
||||||
|
- cuddle x ci:release
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
|
DOCKER_PASSWORD:
|
||||||
|
from_secret: docker_password
|
||||||
|
DOCKER_USERNAME:
|
||||||
|
from_secret: docker_username
|
||||||
CUDDLE_SECRETS_PROVIDER: 1password
|
CUDDLE_SECRETS_PROVIDER: 1password
|
||||||
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
|
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
|
||||||
CUDDLE_SSH_AGENT: "true"
|
CUDDLE_SSH_AGENT: "true"
|
||||||
CUDDLE_CI: "true"
|
CI_PREFIX: "/mnt/ci/ci"
|
||||||
CUDDLE_PLEASE_TOKEN:
|
CUDDLE_PLEASE_TOKEN:
|
||||||
from_secret: cuddle_please_token
|
from_secret: cuddle_please_token
|
||||||
OP_SERVICE_ACCOUNT_TOKEN:
|
OP_SERVICE_ACCOUNT_TOKEN:
|
||||||
|
Loading…
Reference in New Issue
Block a user