From 820c296447707b38a0afb1ed7a618226bc52f413 Mon Sep 17 00:00:00 2001 From: Kamesh Sampath Date: Mon, 8 Apr 2024 11:16:35 +0530 Subject: [PATCH] (fix): add GH token to steps --- .github/workflows/images.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 12337c3..185d505 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -42,9 +42,13 @@ jobs: tags: | ${{ env.IMAGE_NAME }}:latest ${{ env.IMAGE_NAME }}:${{ github.ref_name }} + env: + GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }} - name: Push image to GHCR run: | docker buildx imagetools create \ --tag ghcr.io/${{ env.IMAGE_NAME }}:latest \ --tag ghcr.io/${{ env.IMAGE_NAME }}:${{ github.ref_name }} \ ${{ env.IMAGE_NAME }}:latest + env: + GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }}