Skip to content

Commit

Permalink
Add secrets CREADS
Browse files Browse the repository at this point in the history
  • Loading branch information
“achuyko” committed Aug 20, 2024
1 parent 29d9958 commit cacbefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auth_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit cacbefd

Please sign in to comment.