publish to quay and dockerhub
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8df3755be3
commit
432e3d2dff
58
.drone.yml
58
.drone.yml
@ -34,8 +34,10 @@ steps:
|
|||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
depends_on:
|
||||||
|
- dryrun
|
||||||
|
|
||||||
- name: publish
|
- name: publish-dockerhub
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
build_args:
|
build_args:
|
||||||
@ -50,6 +52,27 @@ steps:
|
|||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/**
|
- 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
|
- name: publish-gitea
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
@ -63,6 +86,9 @@ steps:
|
|||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
depends_on:
|
||||||
|
- publish-dockerhub
|
||||||
|
- publish-quay
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -73,17 +99,29 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: readme
|
- name: pushrm-dockerhub
|
||||||
image: sheogorath/readme-to-dockerhub
|
pull: always
|
||||||
|
image: chko/docker-pushrm:1
|
||||||
environment:
|
environment:
|
||||||
DOCKERHUB_PASSWORD:
|
DOCKER_PASS:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
DOCKERHUB_REPO_NAME: ${DRONE_REPO_NAME}
|
DOCKER_USER:
|
||||||
DOCKERHUB_REPO_PREFIX: xoxys
|
|
||||||
DOCKERHUB_USERNAME:
|
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
README_PATH: README.md
|
PUSHRM_FILE: README.md
|
||||||
SHORT_DESCRIPTION: link-validator - Simple broken-link-checker wrapper made for CI
|
PUSHRM_SHORT: link-validator - Simple broken-link-checker wrapper made for CI
|
||||||
|
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:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -118,6 +156,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 9c27fedb5655144962fe96f244eae96dfba42aa07bab099ca6a72a288beb0d37
|
hmac: 897f527d28ff45ac939c3aab8c2121ba677a9d01c9d465ec25ae74ba237e5506
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
# [link-validator](https://gitea.rknet.org/docker/link-validator)
|
# link-validator
|
||||||
|
|
||||||
|
link-validator - Simple broken-link-checker wrapper made for CI
|
||||||
|
|
||||||
[![Build Status](https://img.shields.io/drone/build/docker/link-validator?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/link-validator)
|
[![Build Status](https://img.shields.io/drone/build/docker/link-validator?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/link-validator)
|
||||||
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/link-validator)
|
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/link-validator)
|
||||||
|
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/link-validator)
|
||||||
|
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/link-validator)
|
||||||
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/link-validator/src/branch/master/LICENSE)
|
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/link-validator/src/branch/master/LICENSE)
|
||||||
|
|
||||||
Simple wrapper for [broken-link-checker](https://github.com/stevenvachon/broken-link-checker) optimized for CI.
|
Simple wrapper for [broken-link-checker](https://github.com/stevenvachon/broken-link-checker) optimized for CI.
|
||||||
|
Reference in New Issue
Block a user