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