Skip to content

Commit

Permalink
UPDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzasaverio committed Feb 5, 2024
1 parent bdb38f9 commit 66dc1b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Set Docker image to private
run: |
curl -X PATCH \
-H "Authorization: JWT ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"is_private": true}' \
"https://hub.docker.com/v2/repositories/inter92/fastapi-cloudrun/"

0 comments on commit 66dc1b3

Please sign in to comment.