move to GHCR to support buildx

This commit is contained in:
Neale Pickett 2020-09-18 16:47:17 -06:00
parent 7d0657da7c
commit bf734ca5ae
1 changed files with 4 additions and 4 deletions

View File

@ -39,9 +39,9 @@ jobs:
- name: Login to GitHub Packages Docker Registry - name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
registry: docker.pkg.github.com registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.CR_PAT }}
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
@ -63,7 +63,7 @@ jobs:
push: true push: true
tags: | tags: |
dirtbags/moth:${{ steps.vars.outputs.tag }} dirtbags/moth:${{ steps.vars.outputs.tag }}
docker.pkg.github.com/dirtbags/moth/moth:${{ steps.vars.outputs.tag }} ghcr.io/dirtbags/moth/moth:${{ steps.vars.outputs.tag }}
- name: Build and push moth-devel image - name: Build and push moth-devel image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
@ -74,4 +74,4 @@ jobs:
push: true push: true
tags: | tags: |
dirtbags/moth-devel:${{ steps.vars.outputs.tag }} dirtbags/moth-devel:${{ steps.vars.outputs.tag }}
docker.pkg.github.com/dirtbags/moth/moth-devel:${{ steps.vars.outputs.tag }} ghcr.io/dirtbags/moth/moth-devel:${{ steps.vars.outputs.tag }}