diff --git a/.drone.yml b/.drone.yml index 50e5a41..c3db02c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,49 +1,50 @@ --- -kind: template -load: multiarch-container.yaml -data: - repo: images/rotate-backups - source: - # repo: https://gitea.jbrumond.me/images/rotate-backups - repo: git@git.jbrumond.me:images/rotate-backups.git - ref: master - build_args: - - PYTHON_VERSION=3 - - ALPINE_VERSION=3.18 - - ROTATE_BACKUPS_VERSION=8.1 - tags: - - "8.1" - - "8" - platforms: - - os: linux - 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 # --- -# 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 +# kind: template +# load: multiarch-container.yaml +# data: +# repo: images/rotate-backups +# source: +# # repo: https://gitea.jbrumond.me/images/rotate-backups +# repo: git@git.jbrumond.me:images/rotate-backups.git +# ref: master +# build_args: +# - PYTHON_VERSION=3 +# - ALPINE_VERSION=3.18 +# - ROTATE_BACKUPS_VERSION=8.1 +# tags: +# - "8.1" +# - "8" +# platforms: +# - os: linux +# arch: arm64 +# - os: linux +# arch: amd64 +