Skip to content

Commit

Permalink
Docker login issue
Browse files Browse the repository at this point in the history
  • Loading branch information
csuvajit committed Sep 18, 2023
1 parent 712ef40 commit 881cd11
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/aws-ecr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
service: [service-app, service-capital, service-clans, service-wars]

runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204-arm

steps:
- name: Checkout
Expand All @@ -34,6 +34,13 @@ jobs:
id: ecr-login
uses: aws-actions/amazon-ecr-login@v1

- name: Docker Registry Login
uses: docker/login-action@v1
with:
registry: ${{ steps.ecr-login.outputs.registry }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to ECR
uses: docker/login-action@v1
with:
Expand Down

0 comments on commit 881cd11

Please sign in to comment.