Skip to content

Commit

Permalink
ci: migrate docker username to var
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pmig authored and kosmoz committed Nov 2, 2023
1 parent 306687f commit 7bfff79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7bfff79

Please sign in to comment.