try ssh clone
Some checks failed
Build and publish container images / build-and-publish (push) Failing after 6s
continuous-integration/drone/push Build is failing

This commit is contained in:
James Brumond 2023-08-16 13:33:45 -07:00
parent dd2fe15325
commit 04227d9b4a
Signed by: james
GPG Key ID: E8F2FC44BAA3357A

View File

@ -1,46 +1,49 @@
--- ---
kind: pipeline kind: template
type: kubernetes load: multiarch-container.yaml
name: build-linux-amd64 data:
trigger: repo: images/rotate-backups
event: source:
- push # repo: https://gitea.jbrumond.me/images/rotate-backups
branch: repo: git@git.jbrumond.me:images/rotate-backups.git
- master ref: master
platform: build_args:
os: linux - 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 arch: amd64
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
clone:
disable: true
steps:
- name: debug
image: alpine/git
commands:
- env
# - git clone https://gitea.jbrumond.me/images/rotate-backups .
# - git checkout master
# --- # ---
# kind: template # kind: pipeline
# load: multiarch-container.yaml # type: kubernetes
# data: # name: build-linux-amd64
# repo: images/rotate-backups # trigger:
# source: # event:
# repo: https://gitea.jbrumond.me/images/rotate-backups # - push
# ref: master # branch:
# build_args: # - master
# - PYTHON_VERSION=3 # platform:
# - ALPINE_VERSION=3.18 # os: linux
# - ROTATE_BACKUPS_VERSION=8.1
# tags:
# - "8.1"
# - "8"
# platforms:
# - os: linux
# arch: arm64
# - os: linux
# arch: amd64 # 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