We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67fdc64 commit 30ceca0Copy full SHA for 30ceca0
.github/workflows/build_docker.yml
@@ -47,3 +47,10 @@ jobs:
47
48
# Push Docker image to GHCR
49
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