fix build
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2025-05-22 16:54:14 +01:00
parent bba21c5679
commit 2d93290795
2 changed files with 10 additions and 2 deletions

View File

@ -5,15 +5,23 @@ name: default
metadata:
namespace: git
volumes:
- name: cache
claim:
name: docker-cache
steps:
- name: build
image: docker
privileged: true
volumes:
- name: cache
path: /cache
environment:
TOKEN:
from_secret: registry_token
commands:
- dockerd &
- dockerd --data-root /cache/dockerd &
- docker login -u registry -p $TOKEN registry.v0l.io
- docker build -t registry.v0l.io/notepush:latest .
- docker push registry.v0l.io/notepush:latest

View File

@ -3,7 +3,7 @@ ARG IMAGE=rust:bookworm
FROM $IMAGE AS build
WORKDIR /app/src
RUN apt update && apt -y install git libssl-dev
RUN git clone --single-branch --branch zap_stream_modifications https://github.com/nostrlabs-io/notepush.git
RUN git clone --single-branch --branch zap_stream_modifications https://git.v0l.io/Kieran/notepush.git
RUN cargo install --path notepush --root /app/build
FROM $IMAGE AS runner