renovate-bot/.drone.yml

41 lines
769 B
YAML
Raw Normal View History

2022-02-17 19:54:17 +01:00
---
2022-02-17 19:24:53 +01:00
kind: pipeline
2022-02-17 19:54:17 +01:00
type: exec
name: prepare
2022-02-17 19:24:53 +01:00
platform:
os: linux
arch: arm64
steps:
2022-02-17 19:44:45 +01:00
- name: build
commands:
2022-02-17 20:19:05 +01:00
- docker build -t gcrkrause/renovate:latest . --no-cache
2022-02-17 19:44:45 +01:00
- name: push
environment:
USERNAME:
2022-02-17 19:54:17 +01:00
from_secret: docker-hub-user
2022-02-17 19:44:45 +01:00
PASSWORD:
from_secret: docker-hub-pw
commands:
- docker login -u $USERNAME -p $PASSWORD
2022-02-17 20:19:05 +01:00
- docker push gcrkrause/renovate:latest
2022-02-17 19:54:17 +01:00
#---
#kind: pipeline
#type: docker
#name: exec
#
#platform:
# os: linux
# arch: arm64
#
#steps:
# - name: renovate
# image: gcrkrause/renovate:latest
# environment:
# RENOVATE_ENDPOINT: https://git.gieszer.link/api/v1
# RENOVATE_TOKEN:
# from_secret: gitea_secret
# RENOVATE_PLATFORM: gitea
# LOG_LEVEL: DEBUG