Skip to content

Commit

Permalink
Build and Push to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Apr 8, 2024
1 parent dd90560 commit 8c0e0f1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,21 @@ jobs:
file: ./frontend/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/frontend:latest

- name: Set Backend Package Visibility to Public
run: |
curl \
-X PATCH \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/user/packages/container/${{ github.repository }}/backend/visibility \
-d '{"visibility":"public"}'
- name: Set Frontend Package Visibility to Public
run: |
curl \
-X PATCH \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/user/packages/container/${{ github.repository }}/frontend/visibility \
-d '{"visibility":"public"}'

0 comments on commit 8c0e0f1

Please sign in to comment.