Skip to content

Commit f7b16aa

Browse files
authored
Upload Docker images to Quay.io (#260)
1 parent b735b71 commit f7b16aa

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ template: |
6868
6969
## Upgrade
7070
71-
- Use the $RESOLVED_VERSION image from our [DockerHub](https://hub.docker.com/r/nginx/nginx-prometheus-exporter/tags?page=1&ordering=last_updated&name=$RESOLVED_VERSION), [GitHub Container](https://github.com/nginxinc/nginx-prometheus-exporter/pkgs/container/nginx-prometheus-exporter) or [Amazon ECR Public Gallery](https://gallery.ecr.aws/nginx/nginx-prometheus-exporter)
71+
- Use the $RESOLVED_VERSION image from our [DockerHub](https://hub.docker.com/r/nginx/nginx-prometheus-exporter/tags?page=1&ordering=last_updated&name=$RESOLVED_VERSION), [GitHub Container](https://github.com/nginxinc/nginx-prometheus-exporter/pkgs/container/nginx-prometheus-exporter), [Amazon ECR Public Gallery](https://gallery.ecr.aws/nginx/nginx-prometheus-exporter) or [Quay.io](https://quay.io/repository/nginx/nginx-prometheus-exporter/tag/$RESOLVED_VERSION?tab=tags).
7272
- Download the latest binaries from [GitHub releases page](https://github.com/nginxinc/nginx-prometheus-exporter/releases/tag/v$RESOLVED_VERSION).
7373
- Update to the latest version with `brew upgrade nginx-prometheus-exporter`.
7474

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ jobs:
8383
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
8484
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
8585
if: github.event_name != 'pull_request'
86+
- name: Login to Quay.io
87+
uses: docker/login-action@v2
88+
with:
89+
registry: quay.io
90+
username: ${{ secrets.QUAY_USERNAME }}
91+
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
92+
if: github.event_name != 'pull_request'
8693
- name: Docker meta
8794
id: meta
8895
uses: docker/metadata-action@v3
@@ -91,6 +98,7 @@ jobs:
9198
nginx/nginx-prometheus-exporter
9299
ghcr.io/nginxinc/nginx-prometheus-exporter
93100
public.ecr.aws/nginx/nginx-prometheus-exporter
101+
quay.io/nginx/nginx-prometheus-exporter
94102
tags: |
95103
type=edge
96104
type=ref,event=pr

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ The exporter logs errors to the standard output. When using Docker, if the expor
254254
## Releases
255255
256256
### Docker images
257-
We publish the Docker image on [DockerHub](https://hub.docker.com/r/nginx/nginx-prometheus-exporter/), [GitHub Container](https://github.com/nginxinc/nginx-prometheus-exporter/pkgs/container/nginx-prometheus-exporter) and [Amazon ECR Public Gallery](https://gallery.ecr.aws/nginx/nginx-prometheus-exporter).
257+
We publish the Docker image on [DockerHub](https://hub.docker.com/r/nginx/nginx-prometheus-exporter/), [GitHub Container](https://github.com/nginxinc/nginx-prometheus-exporter/pkgs/container/nginx-prometheus-exporter), [Amazon ECR Public Gallery](https://gallery.ecr.aws/nginx/nginx-prometheus-exporter) and [Quay.io](https://quay.io/repository/nginx/nginx-prometheus-exporter).
258258
259259
As an alternative, you can choose the *edge* version built from the [latest commit](https://github.com/nginxinc/nginx-prometheus-exporter/commits/main) from the main branch. The edge version is useful for experimenting with new features that are not yet published in a stable release.
260260

0 commit comments

Comments
 (0)