Doku + Org-Secrets
This commit is contained in:
parent
6d46b504fa
commit
1c3e725c07
1 changed files with 4 additions and 12 deletions
16
.drone.yml
16
.drone.yml
|
@ -7,29 +7,21 @@ steps:
|
|||
image: plugins/gitleaks
|
||||
settings:
|
||||
path: .
|
||||
# https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md
|
||||
|
||||
- name: hadolint
|
||||
image: hadolint/hadolint:latest-debian
|
||||
# image: ghcr.io/hadolint/hadolint:latest-debian
|
||||
commands:
|
||||
- hadolint --version
|
||||
- hadolint Dockerfile
|
||||
|
||||
- name: docker_build_and_push
|
||||
image: plugins/docker
|
||||
environment:
|
||||
http_proxy: http://acng.grote.lan:9999
|
||||
settings:
|
||||
# Dockerhub-Username
|
||||
username: quotengrote
|
||||
# Dockerhub-Password
|
||||
# als Org-Secret hinterlegt
|
||||
username:
|
||||
from_secret: DOCKERHUB_USER
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASS
|
||||
# Container-Registry
|
||||
# registry: hub.docker.com
|
||||
# Name des Containerfiles
|
||||
dockerfile: Dockerfile
|
||||
# Repo auf dem Dockerhub
|
||||
repo: quotengrote/fpm
|
||||
tags:
|
||||
- latest
|
||||
|
|
Loading…
Reference in a new issue