cleanup
This commit is contained in:
parent
775a74988d
commit
b0e607f5fd
34
.drone.yml
34
.drone.yml
@ -3,9 +3,9 @@ kind: template
|
|||||||
load: multiarch-container.yaml
|
load: multiarch-container.yaml
|
||||||
data:
|
data:
|
||||||
repo: images/rotate-backups
|
repo: images/rotate-backups
|
||||||
source:
|
# source:
|
||||||
repo: https://gitea.jbrumond.me/images/rotate-backups
|
# repo: https://gitea.jbrumond.me/images/rotate-backups
|
||||||
ref: master
|
# ref: master
|
||||||
build_args:
|
build_args:
|
||||||
- PYTHON_VERSION=3
|
- PYTHON_VERSION=3
|
||||||
- ALPINE_VERSION=3.18
|
- ALPINE_VERSION=3.18
|
||||||
@ -18,31 +18,3 @@ data:
|
|||||||
arch: arm64
|
arch: arm64
|
||||||
- os: linux
|
- os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# kind: pipeline
|
|
||||||
# type: kubernetes
|
|
||||||
# name: build-linux-amd64
|
|
||||||
# trigger:
|
|
||||||
# event:
|
|
||||||
# - push
|
|
||||||
# branch:
|
|
||||||
# - master
|
|
||||||
# platform:
|
|
||||||
# os: linux
|
|
||||||
# arch: amd64
|
|
||||||
# node_selector:
|
|
||||||
# kubernetes.io/os: linux
|
|
||||||
# kubernetes.io/arch: amd64
|
|
||||||
# clone:
|
|
||||||
# disable: true
|
|
||||||
# steps:
|
|
||||||
# - name: debug
|
|
||||||
# image: alpine/git
|
|
||||||
# commands:
|
|
||||||
# - env
|
|
||||||
# - git config credential.helper
|
|
||||||
# # - git clone https://gitea.jbrumond.me/images/rotate-backups .
|
|
||||||
# # - git checkout master
|
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ FROM python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
|
|||||||
|
|
||||||
RUN apk update && apk add less
|
RUN apk update && apk add less
|
||||||
|
|
||||||
RUN pip install rotate-backups==${ROTATE_BACKUPS_VERSION}
|
RUN pip install rotate-backups==$ROTATE_BACKUPS_VERSION
|
||||||
|
|
||||||
RUN mkdir /data
|
RUN mkdir /data
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user