From 4ef14fc9e3755c7c618d67308ffb1c7b76345db5 Mon Sep 17 00:00:00 2001 From: Johan Gunnarsson Date: Sat, 23 Jul 2022 22:22:59 +0200 Subject: [PATCH] github: Deploy to Docker Hub --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95acdb3..84c38eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,9 +153,8 @@ jobs: if: github.event_name != 'pull_request' && github.ref_name == 'master' uses: docker/login-action@v1 with: - registry: public.ecr.aws/johang - username: AWS - password: ${{ secrets.AWS_ECR_PASSWORD }} + username: johang + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 @@ -163,4 +162,4 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' && github.ref_name == 'master' }} - tags: public.ecr.aws/johang/sd-card-images:latest + tags: johang/sd-card-images:latest