From 5c5eb3fe170cf5f35cf70f12881cd6d2afe06b52 Mon Sep 17 00:00:00 2001 From: Enrico Alvarenga Date: Tue, 10 May 2022 11:02:38 -0700 Subject: [PATCH] Update docker login github action module and docker hub PAT secret name (#345) Docker login job was failing because the module was outdated. We also addressed Docker recommendation to use PAT instead of password. --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d286eb9..d3440369 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USER }} - password: ${{ secrets.DOCKERHUB_PASSWD }} + password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 018ebb70..40724346 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,10 +80,10 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USER }} - password: ${{ secrets.DOCKERHUB_PASSWD }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Release run: