From 5b817f506a75b65ad26810ed1ec6da2c666323f8 Mon Sep 17 00:00:00 2001 From: ve-akanoce Date: Fri, 5 Jan 2024 11:25:30 +0100 Subject: [PATCH 1/2] fix(actions): add checkout and specify dockerfile --- .github/workflows/push-docker-image.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index 392e564..1aba76e 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -16,6 +16,8 @@ jobs: contents: read packages: write steps: + - name: Checkout + uses: actions/checkout@v3 - name: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -33,6 +35,7 @@ jobs: uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . + file: ./Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} From 4ef09805f4c4dae587d430ea887c0e176b0c9013 Mon Sep 17 00:00:00 2001 From: ve-akanoce Date: Fri, 5 Jan 2024 11:35:37 +0100 Subject: [PATCH 2/2] fix: add contenst permission to publih-to-gh pages --- .github/workflows/publish-to-gh-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-to-gh-pages.yml b/.github/workflows/publish-to-gh-pages.yml index 5cbeb50..65a4084 100644 --- a/.github/workflows/publish-to-gh-pages.yml +++ b/.github/workflows/publish-to-gh-pages.yml @@ -13,6 +13,7 @@ jobs: permissions: pages: write # to deploy to Pages id-token: write # to verify the deployment originates from an appropriate source + contents: write steps: - name: Checkout repository