From a22b4e2a633c0f41de2a8440c49b5cbe81322d9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 6 Apr 2021 14:32:16 +0200 Subject: [PATCH] Update docker-image workflow to use ghcr.io --- .github/workflows/docker-image.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index fb92719..1651000 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -5,16 +5,16 @@ on: - 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 -- 2.20.1