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 ca54648617
commit 59e69fbd63

View file

@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env: 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 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_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 }} RAW_REF_NAME: ${{ github.event.pull_request.head.ref || github.ref }}
@ -34,12 +34,12 @@ jobs:
id: buildx id: buildx
uses: docker/setup-buildx-action@v2.0.0 uses: docker/setup-buildx-action@v2.0.0
- name: Login to GitHub Container Registry - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: docker.io
username: ${{ github.actor }} username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with: