Reinstate Docker image
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
c73bbe8c0d
commit
5ac3a48125
23
.drone.yml
23
.drone.yml
|
@ -2,11 +2,18 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: linters
|
name: linters
|
||||||
steps:
|
steps:
|
||||||
- name: run shellcheck
|
- name: publish image
|
||||||
image: koalaman/shellcheck-alpine
|
image: plugins/docker
|
||||||
commands:
|
settings:
|
||||||
- shellcheck backup.sh
|
username: 3wordchant
|
||||||
|
password:
|
||||||
trigger:
|
from_secret: git_coopcloud_tech_token_3wc
|
||||||
branch:
|
repo: git.coopcloud.tech/coop-cloud/backup-bot-two
|
||||||
- main
|
tags: 2.0.0
|
||||||
|
registry: git.coopcloud.tech
|
||||||
|
depends_on:
|
||||||
|
- run shellcheck
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
FROM docker:24.0.7-dind
|
||||||
|
|
||||||
|
RUN apk add --upgrade --no-cache restic bash python3 py3-pip
|
||||||
|
|
||||||
|
# Todo use requirements file with specific versions
|
||||||
|
RUN pip install click==8.1.7 docker==6.1.3 resticpy==1.0.2
|
||||||
|
|
||||||
|
COPY backupbot.py /usr/bin/backup
|
||||||
|
|
||||||
|
ENTRYPOINT /bin/bash
|
Loading…
Reference in New Issue