From f301b2761f46030e3abfe39d53759cc1175d77d6 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Wed, 28 Aug 2024 16:03:44 -0700 Subject: [PATCH] Add login step to updater (#2478) Add login step to udpater --- .github/workflows/update-docker-images.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-docker-images.yml b/.github/workflows/update-docker-images.yml index 005ce433ed..194dcc439f 100644 --- a/.github/workflows/update-docker-images.yml +++ b/.github/workflows/update-docker-images.yml @@ -52,6 +52,13 @@ jobs: outputs: needs-updating: ${{ steps.needs.outputs.needs-updating }} steps: + - name: Login to GitHub Container Registry + uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Check if update available for nginx image id: update uses: lucacome/docker-image-update-checker@f50d56412b948cfdbb842c5419372681e0db3df1 # v1.2.1