attempt to use ghcr.io instead of old gh packages

This commit is contained in:
41666 2020-12-03 12:26:17 -05:00
parent dec76a40a5
commit 4d0fcc4ad6

View file

@ -60,7 +60,7 @@ jobs:
matrix:
dockerfile:
- ui
- bot
# - bot -- TODO: figure out registry issue
steps:
- uses: actions/checkout@master
@ -75,7 +75,7 @@ jobs:
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: docker.pkg.github.com/roleypoly/roleypoly/${{matrix.dockerfile}}
images: ghcr.io/roleypoly/${{matrix.dockerfile}}
tag-sha: true
- name: Set up Docker Buildx
@ -87,9 +87,9 @@ jobs:
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
username: roleypoly
password: ${{ secrets.GHCR_PAT }}
- name: Build and push
uses: docker/build-push-action@v2