diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8276dd..af34eee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,17 +27,17 @@ jobs: name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 - # - # https://github.com/docker/login-action - # name: Log in to the Container registry - # uses: docker/login-action@v3 - # with: - # # Maybe there is a default env var for this? - # registry: git.maronato.dev - # username: ${{ github.repository_owner }}} - # # Ideally, we should only need to set "permissions: package: write", but - # # Gitea is having issues with that. For now, this is a manually created - # # token available user-wise, with the "package:write" permission. - # password: ${{ secrets.PACKAGE_WRITE_TOKEN }} + - # https://github.com/docker/login-action + name: Log in to the Container registry + uses: docker/login-action@v3 + with: + # Maybe there is a default env var for this? + registry: git.maronato.dev + username: ${{ github.repository_owner }}} + # Ideally, we should only need to set "permissions: package: write", but + # Gitea is having issues with that. For now, this is a manually created + # token available user-wise, with the "package:write" permission. + password: ${{ secrets.PACKAGE_WRITE_TOKEN }} - # https://github.com/docker/metadata-action # Generate tags and labels for the image # according to the commit and the branch