Skip to content

Commit

Permalink
fix: presumably this fixes rate limit error on packer (#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
librarian authored Sep 13, 2024
1 parent ee28517 commit 29ceb0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ jobs:
EOF
cat $VARIABLES_FILE
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUNNER_VERSION: ${{ vars.RUNNER_VERSION || '2.308.0' }}
FOLDER_ID: bjeuq5o166dq4ukv3eec
ZONE: eu-north1-c
Expand Down Expand Up @@ -244,6 +245,8 @@ jobs:
id: validate
run: |
packer validate -var-file=$VARIABLES_FILE .github/packer/github-runner.pkr.hcl
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run `packer build`
id: build
Expand All @@ -253,6 +256,8 @@ jobs:
packer build -timestamp-ui -var-file=$VARIABLES_FILE .github/packer/github-runner.pkr.hcl
echo "IMAGE_ID_2204=$(jq -r '.builds[0].artifact_id' manifest.json)" >> $GITHUB_OUTPUT
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: Print IMAGE_ID_2204
Expand Down

0 comments on commit 29ceb0c

Please sign in to comment.