Skip to content

Commit

Permalink
Merge pull request #142 from weaveworks/docker_publish_changes
Browse files Browse the repository at this point in the history
feat: updating release action to use GITHUB_TOKEN
  • Loading branch information
richardcase authored Feb 25, 2022
2 parents 4b4887b + 871baa5 commit 46931ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
TAG: ${{ github.ref_name }}
REGISTRY: ghcr.io

jobs:
build:
Expand All @@ -19,9 +20,9 @@ jobs:
- name: Docker login
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build docker image
run: make docker-build TAG=${{ env.TAG }}
- name: Push docker image
Expand Down

0 comments on commit 46931ed

Please sign in to comment.