From fd78541b0cd42dd0481caf0598f30b6bd0c2f922 Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Thu, 3 Oct 2024 17:53:18 -0700 Subject: [PATCH] Using docker secrets --- .github/workflows/reusable_image_build_push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable_image_build_push.yml b/.github/workflows/reusable_image_build_push.yml index c8beeb5ac..826a1fd5a 100644 --- a/.github/workflows/reusable_image_build_push.yml +++ b/.github/workflows/reusable_image_build_push.yml @@ -107,8 +107,8 @@ jobs: # if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: - username: $DOCKER_USER - password: $DOCKER_PASSWORD + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Get current date # get the date of the build id: date