From c64987a840cad054a6b752b9616fc8da02bf567a Mon Sep 17 00:00:00 2001 From: Octoturge Date: Thu, 27 Aug 2026 09:21:15 +0200 Subject: [PATCH] ci: re-declare packages: write for forward compat with gitea#39070 Currently a no-op given GITEA_TOKEN can't reach the registry at all yet, but harmless to have in place now so nothing needs to change here once that fix ships and PACKAGE_REGISTRY_TOKEN can eventually be retired. --- .gitea/workflows/coder-templates.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/coder-templates.yml b/.gitea/workflows/coder-templates.yml index cebe393..e83b5e0 100644 --- a/.gitea/workflows/coder-templates.yml +++ b/.gitea/workflows/coder-templates.yml @@ -59,6 +59,12 @@ jobs: # container.volumes mount for the same path here fails at container # creation with "Duplicate mount point: /var/run/docker.sock". runs-on: docker-build + # Currently a no-op (see the PACKAGE_REGISTRY_TOKEN note above) but + # harmless to declare now - once go-gitea/gitea#39070 ships, GITEA_TOKEN + # will need this to get package write access, so this is one less thing + # to remember when PACKAGE_REGISTRY_TOKEN can eventually be retired. + permissions: + packages: write outputs: failed_templates: ${{ steps.build.outputs.failed_templates }} # docker:27-cli (Alpine) has no bash - only the POSIX /bin/sh (busybox