diff --git a/.drone.yml b/.drone.yml index 50c9ce6..138d4b0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,8 @@ steps: - name: docker image: plugins/docker settings: + purge: true + no_cache: true auto_tag: true auto_tag_suffix: linux-amd64 repo: samuelph/feed2toot @@ -18,6 +20,12 @@ steps: password: from_secret: PASSWORD +trigger: + branch: + - master + event: + - push + --- kind: pipeline type: docker @@ -31,6 +39,8 @@ steps: - name: docker image: plugins/docker settings: + purge: true + no_cache: true auto_tag: true auto_tag_suffix: linux-arm repo: samuelph/feed2toot @@ -39,6 +49,41 @@ steps: password: from_secret: PASSWORD +trigger: + branch: + - master + event: + - push + +--- +kind: pipeline +type: docker +name: linux-arm64 + +platform: + os: linux + arch: arm64 + +steps: + - name: docker + image: plugins/docker + settings: + purge: true + no_cache: true + auto_tag: true + auto_tag_suffix: linux-arm64 + repo: samuelph/feed2toot + username: + from_secret: USERNAME + password: + from_secret: PASSWORD + +trigger: + branch: + - master + event: + - push + --- kind: pipeline type: docker @@ -54,6 +99,7 @@ steps: template: samuelph/feed2toot:OS-ARCH platforms: - linux/amd64 + - linux/arm64 - linux/arm username: from_secret: USERNAME @@ -62,4 +108,11 @@ steps: depends_on: - linux-amd64 + - linux-arm64 - linux-arm + +trigger: + branch: + - master + event: + - push diff --git a/Dockerfile b/Dockerfile index 1985f8b..1f8671c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM python:3-slim +FROM python:3.8.6-slim + MAINTAINER mail@sp-codes.de RUN pip3 install feed2toot diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..7e23eca --- /dev/null +++ b/renovate.json @@ -0,0 +1,9 @@ +{ + "assignees": [ + "samuel-p" + ], + "baseBranches": [ + "master" + ], + "rangeStrategy": "bump" +}