with export
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-08-12 02:30:44 +02:00
parent f180c00e38
commit 8b21337467
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,6 @@ steps:
- name: build - name: build
image: quay.io/testcontainers/dind-drone-plugin image: quay.io/testcontainers/dind-drone-plugin
environment:
CI_WORKSPACE: "/drone/src"
settings: settings:
build_image: kasperhermansen/cuddle:latest build_image: kasperhermansen/cuddle:latest
cmd: sleep 3 && cuddle_cli x build_cuddle_image cmd: sleep 3 && cuddle_cli x build_cuddle_image
@ -45,6 +43,7 @@ steps:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
environment: environment:
CI_WORKSPACE: "/drone/src"
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
DOCKER_USERNAME: DOCKER_USERNAME:
from_secret: docker_username from_secret: docker_username

View File

@ -9,6 +9,7 @@ RUN apt-get install -y -q build-essential curl git pkg-config
WORKDIR /app/cuddle/ WORKDIR /app/cuddle/
RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli
RUN export PATH="$PATH:/usr/local/cargo/bin/"
#FROM docker:stable-dind #FROM docker:stable-dind
#COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/ #COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/