ci: reuse the PACKAGE_TOKEN secret for the CI image
This commit is contained in:
1 parent
01471b40da
commit
116d028821
1 file changed
+1
-1
@@ -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"
|
||||||
Reference in new issue
Block a user