Skip to content

Commit

Permalink
fix: target variable
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmanuel-tirado committed Jun 28, 2024
1 parent 03244a1 commit 26cf7e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,16 @@ jobs:
# Forcing execution delete after checking it works!!
- name: Clean Docker cache
env:
TARGET: ${{ runner.os }}-buildx-v1.0-service-node-${{ github.ref_name }}
run: |
target=${{ runner.os }}-buildx-v1.0-service-node-${{ github.ref_name }}
curl -L \
-X DELETE \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/pantos-io/service-node/actions/caches?key=$TARGET
"https://api.github.com/repos/pantos-io/service-node/actions/caches?key=${{ env.TARGET }}"
build:
uses: ./.github/workflows/build.yml
Expand Down

0 comments on commit 26cf7e6

Please sign in to comment.