ci: reuse the PACKAGE_TOKEN secret for the CI image
CI / build (pull_request) Successful in 1m49s

This commit is contained in:
tri committed 2026-11-14 02:39:45 +07:00
1 parent 9abe345f68
commit 57b945b308
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
# Gitea's Actions token cannot push to the container registry, so this uses an # Gitea's Actions token cannot push to the container registry, so this uses an
# access token with the write:package scope. # access token with the write:package scope.
env: env:
TOKEN: ${{ secrets.PACKAGES_TOKEN }} TOKEN: ${{ secrets.PACKAGE_TOKEN }}
run: | run: |
echo "$TOKEN" | docker login git.trivk.dev -u "${{ github.repository_owner }}" --password-stdin echo "$TOKEN" | docker login git.trivk.dev -u "${{ github.repository_owner }}" --password-stdin
docker push "$IMAGE" docker push "$IMAGE"