From 18004d85803ff472447ce6bcb9f708c814422fed Mon Sep 17 00:00:00 2001 From: tison Date: Thu, 5 Jan 2023 18:18:58 +0800 Subject: [PATCH] ci: Package is now public Signed-off-by: tison --- .github/workflows/ci.yml | 5 ----- distribution/action/Dockerfile | 17 ----------------- distribution/action/action.yml | 4 ++-- 3 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 distribution/action/Dockerfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd2e2b98..ddb14885 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,11 +41,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - name: Check license headers uses: ./distribution/action - name: Setup Java diff --git a/distribution/action/Dockerfile b/distribution/action/Dockerfile deleted file mode 100644 index 8e417608..00000000 --- a/distribution/action/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2023 Korandoru Contributors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -FROM ghcr.io/korandoru/hawkeye-native -WORKDIR /github/workspace/ -ENTRYPOINT ["/bin/hawkeye-native"] diff --git a/distribution/action/action.yml b/distribution/action/action.yml index d5a8887a..e556ec69 100644 --- a/distribution/action/action.yml +++ b/distribution/action/action.yml @@ -32,8 +32,8 @@ inputs: default: check runs: - using: 'docker' - image: 'Dockerfile' + using: docker + image: ghcr.io/korandoru/hawkeye-native args: - ${{ inputs.mode }} - --config