From cacbefdcd5c83ff9a415c9e0f6f5ecdc4331633e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cachuyko=E2=80=9D?= <“achuyko@algoritmiclab.ai”> Date: Tue, 20 Aug 2024 12:36:10 +0300 Subject: [PATCH] Add secrets CREADS --- .github/workflows/auth_ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auth_ci.yaml b/.github/workflows/auth_ci.yaml index 15125db..c8a1bf7 100644 --- a/.github/workflows/auth_ci.yaml +++ b/.github/workflows/auth_ci.yaml @@ -22,7 +22,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Docker Registery - run: aws ecr get-login-password --region eu-north-1 | docker login --username AWS --password-stdin ${{ secrets.REGISTRY }} + run: echo ${{ secrets.CREADS }} | docker login --username AWS --password-stdin ${{ secrets.REGISTRY }} - name: Build and Push Docker Image run: | @@ -47,7 +47,7 @@ jobs: TAG_NAME=$(echo $GITHUB_SHA | head -c7) # Login into Selectel Registry - aws ecr get-login-password --region eu-north-1 | docker login --username AWS --password-stdin ${{ secrets.REGISTRY }} + echo ${{ secrets.CREADS }} | docker login --username AWS --password-stdin ${{ secrets.REGISTRY }} # Stop running container docker stop $CONTAINER_NAME