diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml index 8bb8380ad5a93..c4e672c560c86 100644 --- a/.github/workflows/container-images-cd.yml +++ b/.github/workflows/container-images-cd.yml @@ -55,9 +55,9 @@ jobs: uses: aws-actions/amazon-ecr-login@v2 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: - username: posthog + username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push container image diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index 740ac52954bc2..26896c7566091 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -33,7 +33,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v3 with: - username: posthog + username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - uses: aws-actions/configure-aws-credentials@v4