From: Tim Düsterhus Date: Tue, 6 Apr 2021 12:32:16 +0000 (+0200) Subject: Update docker-image workflow to use ghcr.io X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a22b4e2a633c0f41de2a8440c49b5cbe81322d9b;p=GitHub%2FWoltLab%2Fblacklist.git Update docker-image workflow to use ghcr.io --- 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