Skip to content

Commit 30ceca0

Browse files
committed
build coker public
1 parent 67fdc64 commit 30ceca0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build_docker.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,10 @@ jobs:
4747
4848
# Push Docker image to GHCR
4949
docker push $IMAGE_NAME:latest
50+
51+
# Set image visibility to public
52+
curl -X PATCH \
53+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
54+
-H "Accept: application/vnd.github.v3+json" \
55+
https://api.github.com/user/packages/container/translator-image/visibility \
56+
-d '{"visibility":"public"}'

0 commit comments

Comments
 (0)