publish to quay and dockerhub
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-09-02 22:30:52 +02:00
parent 73c1f1ceb1
commit dd404938c5
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 53 additions and 11 deletions

View File

@ -34,8 +34,10 @@ steps:
ref:
- refs/heads/master
- refs/tags/**
depends_on:
- dryrun
- name: publish
- name: publish-dockerhub
image: plugins/docker
settings:
build_args:
@ -50,6 +52,27 @@ steps:
ref:
- refs/heads/master
- refs/tags/**
depends_on:
- tags
- name: publish-quay
image: plugins/docker
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: quay_password
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
when:
ref:
- refs/heads/master
- refs/tags/**
depends_on:
- tags
- name: publish-gitea
image: plugins/gitea-release
@ -63,6 +86,9 @@ steps:
when:
ref:
- refs/tags/**
depends_on:
- publish-dockerhub
- publish-quay
---
kind: pipeline
@ -73,17 +99,29 @@ platform:
arch: amd64
steps:
- name: readme
image: sheogorath/readme-to-dockerhub
- name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1
environment:
DOCKERHUB_PASSWORD:
DOCKER_PASS:
from_secret: docker_password
DOCKERHUB_REPO_NAME: ${DRONE_REPO_NAME}
DOCKERHUB_REPO_PREFIX: xoxys
DOCKERHUB_USERNAME:
DOCKER_USER:
from_secret: docker_username
README_PATH: README.md
SHORT_DESCRIPTION: VNU - The Nu Html Checker
PUSHRM_FILE: README.md
PUSHRM_SHORT: VNU - The Nu Html Checker
PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME}
when:
status:
- success
- name: pushrm-quay
pull: always
image: chko/docker-pushrm:1
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
@ -118,6 +156,6 @@ depends_on:
---
kind: signature
hmac: ce418b0182892c1547ed97294a9132ea27843a813c2c7a32a4bfc34e3ac236d7
hmac: 2d8da4c985bf067c7343b4d55f51ff94a1fe4432abc6d074294c1d35a9cf8274
...

View File

@ -1,7 +1,11 @@
# [vnu](https://gitea.rknet.org/docker/vnu)
# vnu
VNU - The Nu Html Checker
[![Build Status](https://img.shields.io/drone/build/docker/vnu?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/vnu)
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/vnu)
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/vnu)
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/vnu)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/vnu/src/branch/master/LICENSE)
Custom docker image for the [Nu Html Checker](https://github.com/validator/validator). The image was build to use with any docker based CI system.