Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to ghcr.io
Browse files Browse the repository at this point in the history
tatsuhiro-t committed Mar 4, 2024
1 parent d9b238b commit 5de3974
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -34,16 +34,16 @@ jobs:
core.setOutput('tag', '${{ github.ref_type }}' == 'tag' ? '${{ github.ref_name }}' : 'latest')
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: steps.imageprops.outputs.push == 'true'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
uses: docker/build-push-action@v5
with:
context: .
push: ${{ steps.imageprops.outputs.push == 'true' }}
tags: zlabjp/nghttpx-ingress-controller:${{ steps.imageprops.outputs.tag }}
tags: ghcr.io/zlabjp/nghttpx-ingress-controller:${{ steps.imageprops.outputs.tag }}
provenance: false
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,10 @@ nghttpx ingress controller was initially created based on

## Docker images

The official Docker images are available at [Docker Hub](https://hub.docker.com/r/zlabjp/nghttpx-ingress-controller/).
The official Docker images since v0.67.0 are available at
[GitHub Container Registry](https://github.com/zlabjp/nghttpx-ingress-lb/pkgs/container/nghttpx-ingress-controller).
The images for older releases can be found at [Docker
Hub](https://hub.docker.com/r/zlabjp/nghttpx-ingress-controller/).

## Requirements

0 comments on commit 5de3974

Please sign in to comment.