Skip to content

Commit ac2e6ba

Browse files
authored
chore: docker hub login
1 parent 0a03abe commit ac2e6ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ jobs:
1818
go-version: 1.14
1919
id: go
2020

21-
- name: Login to docker hub
22-
run: docker login -u $DOCKER_USER -p $DOCKER_PASS
21+
- name: Login to DockerHub
22+
uses: docker/login-action@v1
23+
with:
24+
username: ${{ secrets.DOCKER_USER }}
25+
password: ${{ secrets.DOCKER_PASS }}
2326

2427
- name: Run GoReleaser
2528
uses: goreleaser/goreleaser-action@v2.2.1

0 commit comments

Comments
 (0)