Skip to content

Commit f1c9af7

Browse files
committed
use more secure github container registry
1 parent 9ab453b commit f1c9af7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ jobs:
1717
with:
1818
go-version: 1.18
1919

20-
- name: "Docker login"
21-
run: docker login docker.pkg.github.com -u docker -p ${{ secrets.GITHUB_TOKEN }}
20+
- name: Login to GitHub Container Registry
21+
uses: docker/login-action@v2
22+
with:
23+
registry: ghcr.io
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
26+
2227

2328
- name: Release
2429
run: make release

0 commit comments

Comments
 (0)