From 7bfff795a4ae52efdac49e7c3e7a4d6baabbdae8 Mon Sep 17 00:00:00 2001 From: Philip Miglinci Date: Thu, 2 Nov 2023 11:38:31 +0100 Subject: [PATCH] ci: migrate docker username to var our docker hub username "glasskube" was stored in a secret which leads to all appearances of "glasskube" getting starred out. I already added to var to the repo settings Signed-off-by: Philip Miglinci --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc4d6532..115c0abc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,10 +17,10 @@ jobs: - uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0 - uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build OCI Image run: ./gradlew bootBuildImage --publishImage env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}