Skip to content

Commit a9fff69

Browse files
committed
added env var GITHUB_TOKEN to 'Release Tarballs Files' step in github action
1 parent fd7198c commit a9fff69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/master.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: docker images
5454

5555
- name: Loging in Docker Hub
56-
run: docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
56+
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USER }} --password-stdin
5757

5858
- name: Publish images in Docker Hub
5959
run: make docker-publish DOCKER_REPO=$DOCKER_HUB_REPO
@@ -68,6 +68,8 @@ jobs:
6868
run: promu checksum .tarballs
6969

7070
- name: Release Tarballs Files
71+
env:
72+
GITHUB_TOKEN: {{secrets.GITHUB_TOKEN}}
7173
run: promu release .tarballs
7274

7375
- name: Upload artifacts to Github

0 commit comments

Comments
 (0)