diff --git a/.github/actions/base_images/action.yml b/.github/actions/base_images/action.yml index bc2938e3..42bc97ad 100644 --- a/.github/actions/base_images/action.yml +++ b/.github/actions/base_images/action.yml @@ -106,8 +106,7 @@ runs: if: env.BUILD_IMAGES && steps.cache.outputs.cache-hit == 'true' run: | echo "Deleting existing cache for ${{ steps.hash_key.outputs.base_cache_key }}" - gh extension install actions/gh-actions-cache - gh actions-cache delete "base-images=${{ steps.hash_key.outputs.base_cache_key }}" --R ${{ github.repository }} -B ${{ github.ref }} --confirm + gh cache delete "base-images=${{ steps.hash_key.outputs.base_cache_key }}" -R ${{ github.repository }} shell: bash - name: Cache podman images diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec7e1058..cd7a2e4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,8 @@ jobs: - name: Build base images id: build_base_images uses: "./.github/actions/base_images" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: python_version: "3.9" @@ -78,8 +80,6 @@ jobs: - name: Build App Image id: build_image uses: "./.github/actions/build_image" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: image_name: ${{ matrix.image_name }} image_variant: "stable"