diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 917f2e581..8083b65ed 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,13 +19,12 @@ jobs: - name: Check out repository uses: actions/checkout@v2 + - name: Login to DockerHub Registry + run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - - name: Log in to Docker Hub - run: | - echo "${{ secrets.DOCKER_PASSWORD }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin - + - name: Log in to Heroku Container Registry run: | echo "$HEROKU_API_KEY" | docker login --username="$HEROKU_EMAIL" --password-stdin registry.heroku.com