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
arch: amd64 - ALPINE_VERSION=3.18
node_selector: - ROTATE_BACKUPS_VERSION=8.1
kubernetes.io/os: linux tags:
kubernetes.io/arch: amd64 - "8.1"
clone: - "8"
disable: true platforms:
steps: - os: linux
- name: debug arch: arm64
image: alpine/git - os: linux
commands: arch: amd64
- 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 # arch: amd64
# - ROTATE_BACKUPS_VERSION=8.1 # node_selector:
# tags: # kubernetes.io/os: linux
# - "8.1" # kubernetes.io/arch: amd64
# - "8" # clone:
# platforms: # disable: true
# - os: linux # steps:
# arch: arm64 # - name: debug
# - os: linux # image: alpine/git
# arch: amd64 # commands:
# - env
# - git config credential.helper
# # - git clone https://gitea.jbrumond.me/images/rotate-backups .
# # - git checkout master