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 }}