Skip to content

Commit

Permalink
fix: set PACKER_GITHUB_TOKEN to increase requests limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuthor committed Jun 15, 2024
1 parent a229cb4 commit 1633f30
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/aws_base_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:

- name: Packer build image
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.PACKER_GITHUB_TOKEN }}
IMAGE_NAME: ${{ steps.env.outputs.IMAGE_NAME }}
run: |
set -ex
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/aws_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:

- name: Packer build image
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.PACKER_GITHUB_TOKEN }}
TIMESTAMP: ${{ steps.env.outputs.TIMESTAMP }}
IMAGE_NAME: ${{ steps.env.outputs.IMAGE_NAME }}
KMS_VERSION: ${{ inputs.kms-version }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/azure_packer_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:

- name: Packer build image
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.PACKER_GITHUB_TOKEN }}
CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gcp_base_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:

- name: Packer build image
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.PACKER_GITHUB_TOKEN }}
IMAGE_NAME: ${{ steps.env.outputs.IMAGE_NAME }}
TECHNO: ${{ inputs.techno }}
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gcp_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:

- name: Packer build image
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.PACKER_GITHUB_TOKEN }}
TIMESTAMP: ${{ steps.env.outputs.TIMESTAMP }}
IMAGE_NAME: ${{ steps.env.outputs.IMAGE_NAME }}
KMS_VERSION: ${{ inputs.kms-version }}
Expand Down

0 comments on commit 1633f30

Please sign in to comment.