- master
jobs:
push_to_registry:
- name: Push Docker image to GitHub Packages
+ name: Push Docker image to ghcr.io
runs-on: ubuntu-latest
steps:
- - name: Check out the repo
- uses: actions/checkout@v2
- - name: Push to GitHub Packages
- uses: docker/build-push-action@v1
+ - uses: docker/setup-buildx-action@v1
+ - uses: docker/login-action@v1
with:
+ registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- registry: docker.pkg.github.com
- repository: woltlab/blacklist/updater
- tag_with_ref: true
+ - uses: docker/build-push-action@v2
+ with:
+ push: true
+ tags: ghcr.io/woltlab/blacklist:latest