Skip to content

Commit 7c8f464

Browse files
authored
dev: improve Docker login during release (#6527)
1 parent 4f6d180 commit 7c8f464

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ jobs:
7575
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
7676

7777
- name: Login do docker.io
78-
run: docker login -u golangci -p ${{ secrets.GOLANGCI_LINT_DOCKER_TOKEN }}
78+
uses: docker/login-action@v4
79+
with:
80+
username: ${{ vars.DOCKERHUB_USERNAME }}
81+
password: ${{ secrets.DOCKERHUB_TOKEN }}
7982

8083
- name: Create release
8184
id: goreleaser

0 commit comments

Comments
 (0)