From 98247b47ab1f35442bf8a45b239fc7b57521cee8 Mon Sep 17 00:00:00 2001 From: Abderrahmane Smimite Date: Mon, 8 Apr 2024 21:42:22 +0200 Subject: [PATCH] ghcr experiment --- .github/workflows/docker-build-and-push.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index 2d8344ce2..2e06bcfec 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -35,7 +35,6 @@ jobs: file: ./backend/Dockerfile push: true tags: ghcr.io/${{ github.repository }}/backend:latest - platforms: linux/amd64,linux/arm64 - name: Build and Push Frontend Docker Image uses: docker/build-push-action@v5 @@ -44,7 +43,6 @@ jobs: file: ./frontend/Dockerfile push: true tags: ghcr.io/${{ github.repository }}/frontend:latest - platforms: linux/amd64,linux/arm64 - name: Set Backend Package Visibility to Public run: | @@ -52,7 +50,7 @@ jobs: -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" \ + https://api.github.com/user/packages/container/ciso-assistant-community/backend/visibility \ -d '{"visibility":"public"}' - name: Set Frontend Package Visibility to Public @@ -61,5 +59,5 @@ jobs: -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" \ + https://api.github.com/user/packages/container/ciso-assistant-community/frontend/visibility \ -d '{"visibility":"public"}'