Skip to content

Commit

Permalink
use ghcr.io image
Browse files Browse the repository at this point in the history
  • Loading branch information
WolleTD committed Mar 22, 2023
1 parent 4f0c542 commit 4e7ca03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
path: .test
- name: Build the image
run: docker build .test --build-arg UID=$(id -u) --tag wolletd/clang-format:latest
run: docker build .test --build-arg UID=$(id -u) --tag ghcr.io/wolletd/clang-format:latest
- name: test with no error
uses: ./.test/
with:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
with:
path: .test
- name: Build the image
run: docker build .test --build-arg UID=$(id -u) --tag wolletd/clang-format:latest
run: docker build .test --build-arg UID=$(id -u) --tag ghcr.io/wolletd/clang-format:latest
- name: test with no error
uses: ./.test/
with:
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: checkout
uses: actions/checkout@v3
- name: Build the image
run: docker build . --build-arg UID=$(id -u) --tag wolletd/clang-format:latest
run: docker build . --build-arg UID=$(id -u) --tag ghcr.io/wolletd/clang-format:latest
- name: fetch required refs
run: git fetch --depth=50 origin master:test tag testdata tag testdata2
- name: test with no error
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ inputs:

runs:
using: "docker"
image: "docker://wolletd/clang-format:latest"
image: "docker://ghcr.io/wolletd/clang-format:latest"
env:
FETCH_DEPTH: ${{ inputs.fetch-depth }}
CLANG_VERSION: ${{ inputs.clang-version }}
Expand Down
2 changes: 1 addition & 1 deletion clang-format-checker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

thisDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
docker_image="${CFC_DOCKER_IMAGE:-wolletd/clang-format:latest}"
docker_image="${CFC_DOCKER_IMAGE:-ghcr.io/wolletd/clang-format:latest}"

die() { echo "$@" >&2; exit 1; }

Expand Down

0 comments on commit 4e7ca03

Please sign in to comment.