This commit is contained in:
parent
580653f3de
commit
488955aaa5
@ -24,13 +24,20 @@ steps:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
environment:
|
||||
#DOCKER_BUILDKIT: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: docker_password
|
||||
DOCKER_USERNAME:
|
||||
from_secret: docker_username
|
||||
SSH_KEY:
|
||||
from_secret: gitea_id_ed25519
|
||||
commands:
|
||||
- set -eu
|
||||
- eval `ssh-agent`
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod -R 600 ~/.ssh
|
||||
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- ssh-add
|
||||
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
|
||||
- shuttle run build
|
||||
services:
|
||||
|
Loading…
Reference in New Issue
Block a user