From 2e11a13979d219f361bba54715c4d98164195a98 Mon Sep 17 00:00:00 2001 From: nite07 Date: Wed, 20 Nov 2024 20:26:44 +0800 Subject: [PATCH] workflow --- .github/workflows/docker.yml | 2 +- .github/workflows/release.yml | 35 ----------------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100755 .github/workflows/release.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 94c1a98..26cf5c9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,7 +34,7 @@ jobs: with: registry: git.nite07.com username: ${{ github.repository_owner }} - password: ${{ secrets.GITEA_TOKEN }} + password: ${{ secrets.TOKEN }} - name: Build and push uses: docker/build-push-action@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100755 index 6e34791..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: release - -on: - push: - tags: - - "v*" - -permissions: - contents: write - -jobs: - goreleaser: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: "stable" - - - name: Install UPX - uses: crazy-max/ghaction-upx@v3 - with: - install-only: true - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}