Browse Source

Maybe this will fix it.

master
Syfaro 5 months ago
parent
commit
79ba77d4e8
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      .drone.yml
  2. 2
    2
      Dockerfile

+ 1
- 1
.drone.yml View File

@@ -39,7 +39,7 @@ steps:
39 39
     - /home/drone/update-telegram-furryimgbot.sh
40 40
     ssh_key:
41 41
       from_secret: ssh_key
42
-    ssh_username:
42
+    username:
43 43
       from_secret: ssh_username
44 44
   when:
45 45
     branch:

+ 2
- 2
Dockerfile View File

@@ -5,10 +5,10 @@ RUN apk add git g++
5 5
 RUN go build -o main
6 6
 
7 7
 FROM alpine
8
-RUN apk add ca-certificates
9 8
 ENV DB_DIR="/app/db"
9
+VOLUME /app/db
10 10
 WORKDIR /app
11 11
 RUN mkdir $DB_DIR
12
+RUN apk add ca-certificates
12 13
 COPY --from=builder /app/main .
13
-VOLUME /app/db
14 14
 CMD ["./main"]

Loading…
Cancel
Save