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

This commit is contained in:
James Brumond 2023-08-16 13:36:38 -07:00
parent 3682117db7
commit fc48faabf4
Signed by: james
GPG Key ID: E8F2FC44BAA3357A

View File

@ -1,49 +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 config credential.helper
# - 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
# repo: git@git.jbrumond.me:images/rotate-backups.git # branch:
# ref: master # - master
# build_args: # platform:
# - PYTHON_VERSION=3 # os: linux
# - 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 config credential.helper
# # - git clone https://gitea.jbrumond.me/images/rotate-backups .
# # - git checkout master