diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index ed25af136..e1871f8fb 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -13,17 +13,17 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push Backend Docker Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./backend file: ./backend/Dockerfile @@ -31,7 +31,7 @@ jobs: tags: ghcr.io/${{ github.repository }}/backend:latest - name: Build and Push Frontend Docker Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./frontend file: ./frontend/Dockerfile @@ -44,7 +44,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/${{ github.repository }}/backend/visibility" \ -d '{"visibility":"public"}' - name: Set Frontend Package Visibility to Public @@ -53,5 +53,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/${{ github.repository }}/frontend/visibility" \ -d '{"visibility":"public"}' \ No newline at end of file