Skip to content

Commit 46931ed

Browse files
authored
Merge pull request #142 from weaveworks/docker_publish_changes
feat: updating release action to use GITHUB_TOKEN
2 parents 4b4887b + 871baa5 commit 46931ed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
env:
99
TAG: ${{ github.ref_name }}
10+
REGISTRY: ghcr.io
1011

1112
jobs:
1213
build:
@@ -19,9 +20,9 @@ jobs:
1920
- name: Docker login
2021
uses: docker/login-action@v1
2122
with:
22-
registry: ghcr.io
23-
username: ${{ secrets.DOCKER_USERNAME }}
24-
password: ${{ secrets.DOCKER_PASSWORD }}
23+
registry: ${{ env.REGISTRY }}
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
2526
- name: Build docker image
2627
run: make docker-build TAG=${{ env.TAG }}
2728
- name: Push docker image

0 commit comments

Comments
 (0)