ci: reuse the PACKAGE_TOKEN secret for the CI image

This commit is contained in:
tri committed 2026-11-14 08:27:22 +07:00
1 parent db0b44835d
commit 471a6037a5
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"