Skip to content

Commit

Permalink
fix(INFRA-3587): last bump
Browse files Browse the repository at this point in the history
  • Loading branch information
vineetguptadev committed Mar 8, 2024
1 parent 80a6776 commit ebea470
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-public-ami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
packer init ./.github/packer/
./.github/workflows/update-ami.py
env:
TAG: ${{ env.TAG }}
SKIP_CREATE_AMI: ${{ env.PKR_VAR_skip_create_ami }}
TAG: ${{ env.PKR_VAR_tag }}
PRODUCT_ID: ${{ secrets.MARKETPLACE_PRODUCT }}
ROLE_ARN: ${{ secrets.MARKETPLACE_ROLE }}
5 changes: 3 additions & 2 deletions .github/workflows/update-ami.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
# Environment Globals
product_id = os.getenv('PRODUCT_ID')
role_arn = os.getenv('ROLE_ARN')
vtag = os.getenv('PKR_VAR_tag')
vtag = os.getenv('TAG')
tag = vtag.replace('v', '')
skip_create_ami = os.getenv('PKR_VAR_skip_create_ami', "True")
skip_create_ami = os.getenv('SKIP_CREATE_AMI', "True")
os.environ["PKR_VAR_skip_create_ami"] = skip_create_ami

def packer_build(packerfile):
print("Running the packer build")
Expand Down

0 comments on commit ebea470

Please sign in to comment.