Skip to content

Commit c340268

Browse files
authored
Merge pull request #198 from deniszh/DZ-ghcr.io
Switching from github token to personal token
2 parents 0969cb2 + 6adadf0 commit c340268

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/master-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
docker buildx build --platform=linux/amd64 --push -t graphiteapp/graphite-statsd:master .
3838
- name: Login to ghcr.io
3939
run: |
40-
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
40+
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u deniszh --password-stdin
4141
- name: Build and push amd64 image to ghcr.io
4242
run: |
4343
docker buildx build --platform=linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:master .

.github/workflows/release-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t graphiteapp/graphite-statsd:latest .
5151
- name: Login to ghcr.io
5252
run: |
53-
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
53+
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u deniszh --password-stdin
5454
- name: Build and push multi-platform images to ghcr.io
5555
run: |
5656
# Strip git ref prefix from version

0 commit comments

Comments
 (0)