From 889b52137983e2d1ef56b89743bcd1c41685f4e0 Mon Sep 17 00:00:00 2001 From: Avram Walden Date: Wed, 19 Jun 2024 10:54:42 -0700 Subject: [PATCH] ci: switches to action for docker login --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8d9074..89cf09c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,16 @@ jobs: run: | docker compose -f docker-compose.yml build - - name: Authenticate to GitHub Container Registry - run: echo ${{ secrets.GH_AUTH_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin + # - name: Authenticate to GitHub Container Registry + # run: echo ${{ secrets.GH_AUTH_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin + - name: Log in to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GH_AUTH_TOKEN }} + - name: Push Docker Image to GitHub Packages run: | NEW_VERSION=$(node -p "require('./package.json').version")