Try publishing to Docker Hub instead

This commit is contained in:
Jordan Webb 2022-08-21 23:04:34 -05:00 committed by GitHub
parent 9c5b2622af
commit b2546b3219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-20.04
env:
CONTAINER_NAME: ghcr.io/${{ github.repository }}
CONTAINER_NAME: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/wireproxy
BUILD_PLATFORMS: linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x
RAW_CONTAINER_TAG: ${{ github.event.inputs.container_tag || github.event.pull_request.head.ref || 'latest' }}
RAW_REF_NAME: ${{ github.event.pull_request.head.ref || github.ref }}
@ -34,12 +34,12 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2.0.0
- name: Login to GitHub Container Registry
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.io
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- uses: actions/checkout@v3
with: