diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b013588..b1490d1 100755 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,6 @@ jobs: with: images: | nite07/live-streamer - ghcr.io/nitezs/live-streamer tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} @@ -36,13 +35,6 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Login to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push uses: docker/build-push-action@v5 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3560ccb..77d6938 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 + with: + go-version: "stable" - name: Install UPX uses: crazy-max/ghaction-upx@v3 @@ -30,4 +32,4 @@ jobs: version: latest args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITEA_TOKEN: ${{ secrets.TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9bc5fb3..fc8d07e 100755 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -29,3 +29,6 @@ release: upx: - enabled: true compress: best +gitea_urls: + api: https://git.nite07.com/api/v1 + download: https://git.nite07.com