Skip to content

Commit ec5efb0

Browse files
committed
Use ghcr for package
1 parent 5b7f864 commit ec5efb0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/push-image.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
- run: git checkout HEAD^
1515
- uses: whoan/docker-build-with-cache-action@v5
1616
with:
17-
image_name: joshuasbrown/cpp-py-formatter
17+
registry: ghcr.io
18+
image_name: cpp-py-formatter
1819
image_tag: latest
19-
username: ${{ secrets.DOCKER_USER }}
20-
password: ${{ secrets.DOCKER_TOKEN }}
20+
username: pgrete
21+
password: ${{ secrets.GHCR_TOKEN }}
2122
push_git_tag: true

check/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ inputs:
3434
default: '""'
3535
runs:
3636
using: 'docker'
37-
image: docker://joshuasbrown/cpp-py-formatter:latest
37+
image: https://ghcr.io/pgrete/cpp-py-formatter:latest
3838
args:
3939
- --github-token
4040
- ${{ inputs.token }}

command/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ inputs:
4040
default: 'cpp-py-formatter'
4141
runs:
4242
using: 'docker'
43-
image: docker://joshuasbrown/cpp-py-formatter:latest
43+
image: https://ghcr.io/pgrete/cpp-py-formatter:latest
4444
args:
4545
- --github-token
4646
- ${{ inputs.token }}

0 commit comments

Comments
 (0)