From 33972bc4e6ecf137c2db83ca3994acf18090bfa6 Mon Sep 17 00:00:00 2001 From: Yongun Seong Date: Thu, 28 Sep 2023 14:14:18 +0900 Subject: [PATCH] fix(ci): actually log in to ghcr (#248) --- .github/workflows/build.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3027262..2d3c41f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,7 @@ on: permissions: contents: read id-token: write + packages: write jobs: build: @@ -44,6 +45,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + - name: Configure registry credentials + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v4 with: