Doku + Org-Secrets
This commit is contained in:
parent
f362bb49a4
commit
7baa5df8eb
1 changed files with 10 additions and 16 deletions
26
.drone.yml
26
.drone.yml
|
@ -7,30 +7,24 @@ steps:
|
||||||
image: plugins/gitleaks
|
image: plugins/gitleaks
|
||||||
settings:
|
settings:
|
||||||
path: .
|
path: .
|
||||||
# https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md
|
|
||||||
# - name: hadolint
|
- name: hadolint
|
||||||
# image: hadolint/hadolint:latest-debian
|
image: hadolint/hadolint:latest-debian
|
||||||
# # image: ghcr.io/hadolint/hadolint:latest-debian
|
commands:
|
||||||
# commands:
|
- hadolint --version
|
||||||
# - hadolint --version
|
- hadolint Dockerfile
|
||||||
# - hadolint Dockerfile
|
|
||||||
- name: docker_build_and_push
|
- name: docker_build_and_push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
environment:
|
environment:
|
||||||
http_proxy: http://acng.grote.lan:9999
|
http_proxy: http://acng.grote.lan:9999
|
||||||
settings:
|
settings:
|
||||||
# Dockerhub-Username
|
username:
|
||||||
username: quotengrote
|
from_secret: DOCKERHUB_USER
|
||||||
# Dockerhub-Password
|
|
||||||
# als Org-Secret hinterlegt
|
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASS
|
from_secret: DOCKERHUB_PASS
|
||||||
# Container-Registry
|
|
||||||
# registry: hub.docker.com
|
|
||||||
# Name des Containerfiles
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# Repo auf dem Dockerhub
|
repo: quotengrote/fpm
|
||||||
repo: quotengrote/munin-server
|
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT_SHA:0:8}
|
- ${DRONE_COMMIT_SHA:0:8}
|
||||||
|
|
Reference in a new issue