Skip to content

Commit

Permalink
Merge pull request #198 from deniszh/DZ-ghcr.io
Browse files Browse the repository at this point in the history
Switching from github token to personal token
  • Loading branch information
deniszh authored Feb 13, 2022
2 parents 0969cb2 + 6adadf0 commit c340268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
docker buildx build --platform=linux/amd64 --push -t graphiteapp/graphite-statsd:master .
- name: Login to ghcr.io
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u deniszh --password-stdin
- name: Build and push amd64 image to ghcr.io
run: |
docker buildx build --platform=linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:master .
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t graphiteapp/graphite-statsd:latest .
- name: Login to ghcr.io
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u deniszh --password-stdin
- name: Build and push multi-platform images to ghcr.io
run: |
# Strip git ref prefix from version
Expand Down

0 comments on commit c340268

Please sign in to comment.