From 32741cf433e99b8cac64768c28b541983684663c Mon Sep 17 00:00:00 2001 From: Ryan Parman Date: Fri, 29 Mar 2024 13:36:59 -0600 Subject: [PATCH] Try an e2e build. --- .github/workflows/build-tenv.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-tenv.yml b/.github/workflows/build-tenv.yml index d11433a..9f9cecf 100644 --- a/.github/workflows/build-tenv.yml +++ b/.github/workflows/build-tenv.yml @@ -59,9 +59,16 @@ jobs: echo "package_version=$(download-asset latest-tag -r tofuutils/tenv -s)" >> $GITHUB_ENV - name: Check to see if we've already built this version + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }} + AWS_REGION: ${{ vars.AWS_REGION }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + KMS_KEY_ID: "${{ secrets.KMS_KEY_ID }}" + PACKAGE_BUCKET: ${{ vars.PACKAGE_BUCKET }} run: | aws s3api head-object \ - --bucket nwlabs-381491855445-package-builder \ + --bucket "${PACKAGE_BUCKET}" \ --key "rpm/amazonlinux/2/x86_64/tenv-${package_version}-1.x86_64.rpm" 2>&1 \ || exit 1