From eda8e305f74d2849474022580100e5023ba128cb Mon Sep 17 00:00:00 2001 From: Kaiwalya Joshi Date: Mon, 8 Jan 2024 17:32:54 -0600 Subject: [PATCH] fix: Issue login first. --- .github/workflows/ci.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f7282a5a..cc76bc37 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,12 @@ jobs: contents: read packages: write steps: + - name: Login to GHCR + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }}` - name: Set up Go 1.21 uses: actions/setup-go@v2 with: @@ -52,13 +58,7 @@ jobs: container-runtime: containerd kubernetes-version: v1.27.6 wait: all - - uses: docker/setup-buildx-action@v3 - - name: Login to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }}` + # - uses: docker/setup-buildx-action@v3 # - name: Codecov # uses: codecov/codecov-action@v1.0.12 # - name: Set env