From eef6a63b1a959d619cdb3e4e7c72bf5d5ba0ee9e Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Wed, 28 Aug 2024 16:01:25 -0500 Subject: [PATCH] chore: promote GHA --- .github/workflows/promote.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 8e8fb7b0..a292cfab 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -139,11 +139,11 @@ jobs: - name: Promote Docker images run: | docker pull "salesforce/cli:$NEEDS_GET_PACKAGE_INFO_VERSION-slim" - docker tag "salesforce/cli:$NEEDS_GET_PACKAGE_INFO_VERSION-slim salesforce/cli:$INPUTS_NEW_CHANNEL-slim" + docker tag "salesforce/cli:$NEEDS_GET_PACKAGE_INFO_VERSION-slim" "salesforce/cli:$INPUTS_NEW_CHANNEL-slim" docker push "salesforce/cli:$INPUTS_NEW_CHANNEL-slim" docker pull "salesforce/cli:$NEEDS_GET_PACKAGE_INFO_VERSION-full" - docker tag "salesforce/cli:$NEEDS_GET_PACKAGE_INFO_VERSION-full salesforce/cli:$INPUTS_NEW_CHANNEL-full" + docker tag "salesforce/cli:$NEEDS_GET_PACKAGE_INFO_VERSION-full" "salesforce/cli:$INPUTS_NEW_CHANNEL-full" docker push "salesforce/cli:$INPUTS_NEW_CHANNEL-full" env: NEEDS_GET_PACKAGE_INFO_VERSION: ${{ needs.get-package-info.outputs.version }} @@ -180,14 +180,7 @@ jobs: - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main - name: Promote with oclif - run: yarn promote --version "$NEEDS_GET_PACKAGE_INFO_VERSION" \ - --sha "$NEEDS_GET_PACKAGE_INFO_SHA" \ - --channel "$NEEDS_BUILD_S3_CHANNEL_S3_NEW_CHANNEL" \ - --max-age 300 \ - --macos \ - --win \ - --indexes \ - --xz + run: yarn promote --version "$NEEDS_GET_PACKAGE_INFO_VERSION" --sha "$NEEDS_GET_PACKAGE_INFO_SHA" --channel "$NEEDS_BUILD_S3_CHANNEL_S3_NEW_CHANNEL" --max-age 300 --macos --win --indexes --xz env: NEEDS_GET_PACKAGE_INFO_VERSION: ${{ needs.get-package-info.outputs.version }} NEEDS_GET_PACKAGE_INFO_SHA: ${{ needs.get-package-info.outputs.sha }}