diff --git a/.github/workflows/GitHub上下文.yaml b/.github/workflows/GitHub上下文.yaml new file mode 100644 index 0000000..12ee657 --- /dev/null +++ b/.github/workflows/GitHub上下文.yaml @@ -0,0 +1,10 @@ +on: + push: + workflow_dispatch: +jobs: + job1: + runs-on: ubuntu-arm64 + steps: + - name: github.repository_id + run: | + echo ${{ github.repository_id }} diff --git a/.github/workflows/cache.yaml.off b/.github/workflows/cache.yaml.off index d4f563f..c5dcaa2 100644 --- a/.github/workflows/cache.yaml.off +++ b/.github/workflows/cache.yaml.off @@ -19,4 +19,4 @@ jobs: - run: ls -lha /opt/hostedtoolcache/pnpm-store || true - run: env -# https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd$0 \ No newline at end of file +# https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd \ No newline at end of file diff --git a/.github/workflows/docker-run-挂载目录.yaml b/.github/workflows/docker-run-挂载目录.yaml deleted file mode 100644 index 81947a9..0000000 --- a/.github/workflows/docker-run-挂载目录.yaml +++ /dev/null @@ -1,18 +0,0 @@ -on: - push: - -jobs: - test: - runs-on: ubuntu-arm64 - steps: - - uses: actions/checkout@main - - run: ls -al - - name: Run Docker container - run: | - docker run --rm \ - --volume type=bind,source=${{ github.workspace }},target=/workspace \ - --workdir /workspace \ - alpine:latest \ - sh -c "echo 'Hello from Docker!' && ls -al" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/hashFiles.yaml b/.github/workflows/hashFiles.yaml.off similarity index 100% rename from .github/workflows/hashFiles.yaml rename to .github/workflows/hashFiles.yaml.off diff --git a/.github/workflows/login-harbor.yaml b/.github/workflows/login-harbor.yaml deleted file mode 100644 index 4cc038a..0000000 --- a/.github/workflows/login-harbor.yaml +++ /dev/null @@ -1,20 +0,0 @@ -on: - push: - workflow_dispatch: -jobs: - job1-harbor-bot: - runs-on: ubuntu-arm64 - steps: - - uses: docker/login-action@v3 - with: - registry: harbor.oo1.dev - username: robot$harbor-bot - password: ${{ secrets.HARBOR_ROBOT_TOKEN }} - job2-harbor_username: - runs-on: ubuntu-arm64 - steps: - - uses: docker/login-action@v3 - with: - registry: harbor.oo1.dev - username: harbor_username - password: ${{ secrets.HARBOR_PASSWORD }} \ No newline at end of file diff --git a/.github/workflows/拉取另一个仓库.yaml b/.github/workflows/拉取另一个仓库.yaml deleted file mode 100644 index d445cae..0000000 --- a/.github/workflows/拉取另一个仓库.yaml +++ /dev/null @@ -1,12 +0,0 @@ -on: - push: - -jobs: - check-out-another-repo: - runs-on: ubuntu-arm64 - steps: - - uses: actions/checkout@main - with: - repository: 'examples/vue-ts-example' - ref: 'main' - - run: ls -al