Build Docker image
continuous-integration/drone/push Build is failing Details

main
Georg Krause 2022-02-17 19:54:17 +01:00
parent d7e572bf6d
commit cdbf8dbff1
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 24 additions and 12 deletions

View File

@ -1,5 +1,8 @@
---
kind: pipeline
type: docker
type: exec
name: prepare
platform:
os: linux
arch: arm64
@ -7,22 +10,31 @@ platform:
steps:
- name: build
commands:
- docker build -t gcrkrause/renovate . --no-cache
- docker build -t gcrkrause/renovate . --no-cache
- name: push
environment:
USERNAME:
from_secret: docker-hub-user
from_secret: docker-hub-user
PASSWORD:
from_secret: docker-hub-pw
commands:
- docker login -u $USERNAME -p $PASSWORD
- docker push gckrause/renovate
- name: renovate
image: gcrkrause/renovate
envorinment:
RENOVATE_ENDPOINT: https://git.gieszer.link/api/v1
RENOVATE_TOKEN:
from_secret: gitea_secret
RENOVATE_PLATFORM: gitea
LOG_LEVEL: DEBUG
#---
#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