From fbeaf04adf8cc4fbe9f5b29e69aee644e890742d Mon Sep 17 00:00:00 2001 From: "Max T. Kristiansen" Date: Sat, 27 Jul 2024 16:18:34 +0200 Subject: [PATCH] ci: Add Docker login step to Release workflow --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 294c8e2..3765223 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,13 @@ jobs: with: fetch-depth: 0 + - name: Login to ghcr.io + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and release run: ./build.cmd Release ${{ github.ref == 'refs/heads/develop' && '--pre-release' || '' }} env: