diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ac376e2..7b0d264 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.GHCR_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build & push uses: docker/build-push-action@v2 with: @@ -26,5 +26,5 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - ghcr.io/tdemin/gmnhg:latest - ghcr.io/tdemin/gmnhg:${{ github.event.release.tag_name }} + ghcr.io/${{ github.repository }}:latest + ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 0559486..f6dfc53 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -22,4 +22,4 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}