From 1ac549d27d68f577bb982b30f78459b96b1111a0 Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Wed, 21 Feb 2024 15:50:32 +0000 Subject: [PATCH] Replace DOCKERHUB_USERNAME secret with plaintext (#18) This isn't a secret and it causes every instance of "posthog" in the action logs to be replaced by "***" because it's the value of a secret --- .github/workflows/docker-capture.yml | 2 +- .github/workflows/docker-hook-api.yml | 2 +- .github/workflows/docker-hook-janitor.yml | 2 +- .github/workflows/docker-hook-worker.yml | 2 +- .github/workflows/docker-migrator.yml | 2 +- .github/workflows/rust.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-capture.yml b/.github/workflows/docker-capture.yml index 468c5c2..30232bc 100644 --- a/.github/workflows/docker-capture.yml +++ b/.github/workflows/docker-capture.yml @@ -28,7 +28,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: posthog password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to ghcr.io diff --git a/.github/workflows/docker-hook-api.yml b/.github/workflows/docker-hook-api.yml index ef22c69..2d93845 100644 --- a/.github/workflows/docker-hook-api.yml +++ b/.github/workflows/docker-hook-api.yml @@ -28,7 +28,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: posthog password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to ghcr.io diff --git a/.github/workflows/docker-hook-janitor.yml b/.github/workflows/docker-hook-janitor.yml index 54129c6..31a4e2d 100644 --- a/.github/workflows/docker-hook-janitor.yml +++ b/.github/workflows/docker-hook-janitor.yml @@ -28,7 +28,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: posthog password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to ghcr.io diff --git a/.github/workflows/docker-hook-worker.yml b/.github/workflows/docker-hook-worker.yml index 1c3e17e..c3ba8ce 100644 --- a/.github/workflows/docker-hook-worker.yml +++ b/.github/workflows/docker-hook-worker.yml @@ -28,7 +28,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: posthog password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to ghcr.io diff --git a/.github/workflows/docker-migrator.yml b/.github/workflows/docker-migrator.yml index 250fe9b..479d6f9 100644 --- a/.github/workflows/docker-migrator.yml +++ b/.github/workflows/docker-migrator.yml @@ -28,7 +28,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: posthog password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to ghcr.io diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7ee5eb8..72dfd0b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,7 +43,7 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: posthog password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Setup dependencies