diff --git a/.drone.yml b/.drone.yml index b7c3285..dcb73c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,9 +3,9 @@ kind: template load: multiarch-container.yaml data: repo: images/rotate-backups - source: - repo: https://gitea.jbrumond.me/images/rotate-backups - ref: master + # source: + # repo: https://gitea.jbrumond.me/images/rotate-backups + # ref: master build_args: - PYTHON_VERSION=3 - ALPINE_VERSION=3.18 @@ -18,31 +18,3 @@ data: arch: arm64 - os: linux 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 - diff --git a/Dockerfile b/Dockerfile index e41b3aa..dfccecc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ FROM python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} 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