publish to quay and dockerhub

This commit is contained in:
Robert Kaussow 2020-09-02 22:21:58 +02:00
parent 0e9c4a7ffc
commit 487517e468
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 51 additions and 11 deletions

View File

@ -32,8 +32,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:
dockerfile: Dockerfile dockerfile: Dockerfile
@ -46,6 +48,25 @@ steps:
ref: ref:
- refs/heads/master - refs/heads/master
- refs/tags/** - refs/tags/**
depends_on:
- tags
- name: publish-quay
image: plugins/docker
settings:
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
@ -59,6 +80,9 @@ steps:
when: when:
ref: ref:
- refs/tags/** - refs/tags/**
depends_on:
- publish-dockerhub
- publish-quay
--- ---
kind: pipeline kind: pipeline
@ -69,17 +93,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: Rootless NGINX - High-performance HTTP server and reverse proxy PUSHRM_SHORT: Rootless NGINX - High-performance HTTP server and reverse proxy
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
@ -114,6 +150,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 017127701f2d92b22bb9b6fa17648ab90343aa2db25da28417282d55d767958b hmac: 476c69ed62900763d0bdfde921dcbb68e8963ea5347c809ec87131159f07a29f
... ...

View File

@ -1,7 +1,11 @@
# [nginx](https://gitea.rknet.org/docker/nginx) # nginx
Rootless NGINX - High-performance HTTP server and reverse proxy
[![Build Status](https://img.shields.io/drone/build/docker/nginx?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/nginx) [![Build Status](https://img.shields.io/drone/build/docker/nginx?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/nginx)
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/nginx) [![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/nginx)
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/nginx)
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/nginx)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/nginx/src/branch/master/LICENSE) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/nginx/src/branch/master/LICENSE)
Rootless nginx base image based on Alpine. The pre-configured non-root user is a system user named `nginx` with the UID `101`. There is also a primary group with the same values. Rootless nginx base image based on Alpine. The pre-configured non-root user is a system user named `nginx` with the UID `101`. There is also a primary group with the same values.