From 49a89e2b5a8cf5db746ad13ec1e83805de884623 Mon Sep 17 00:00:00 2001 From: Sam Salisbury Date: Thu, 16 Jun 2022 13:27:37 +0100 Subject: [PATCH 1/2] strip trailing whitespace --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6481cff019..b5b618bbf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -339,14 +339,14 @@ jobs: name: Verify ${{ matrix.arch }} debian package steps: - uses: actions/checkout@v2 - + - name: Set package version run: | - echo "pkg_version=$(echo ${{ needs.get-product-version.outputs.product-version }} | sed 's/\-/~/g')" >> $GITHUB_ENV + echo "pkg_version=$(echo ${{ needs.get-product-version.outputs.product-version }} | sed 's/\-/~/g')" >> $GITHUB_ENV - name: Set package name run: | - echo "pkg_name=consul_${{ env.pkg_version }}-1_${{ matrix.arch }}.deb" >> $GITHUB_ENV + echo "pkg_name=consul_${{ env.pkg_version }}-1_${{ matrix.arch }}.deb" >> $GITHUB_ENV - name: Download workflow artifacts uses: actions/download-artifact@v3 @@ -379,12 +379,12 @@ jobs: - name: Set package version run: | - echo "pkg_version=$(echo ${{ needs.get-product-version.outputs.product-version }} | sed 's/\-/~/g')" >> $GITHUB_ENV + echo "pkg_version=$(echo ${{ needs.get-product-version.outputs.product-version }} | sed 's/\-/~/g')" >> $GITHUB_ENV - name: Set package name run: | - echo "pkg_name=consul-${{ env.pkg_version }}-1.${{ matrix.arch }}.rpm" >> $GITHUB_ENV - + echo "pkg_name=consul-${{ env.pkg_version }}-1.${{ matrix.arch }}.rpm" >> $GITHUB_ENV + - name: Download workflow artifacts uses: actions/download-artifact@v3 with: @@ -395,5 +395,5 @@ jobs: with: platforms: all - - name: Verify ${{ matrix.arch }} rpm + - name: Verify ${{ matrix.arch }} rpm run: ./.github/scripts/verify_artifact.sh ${{ env.pkg_name }} v${{ env.version }} From 2070d41fe9365ac972441de901cc9347a3fecd98 Mon Sep 17 00:00:00 2001 From: Sam Salisbury Date: Thu, 16 Jun 2022 13:28:36 +0100 Subject: [PATCH 2/2] correct redgat_tag ospid --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5b618bbf4..c4c38efc3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -263,7 +263,7 @@ jobs: version: ${{env.version}} target: ubi arch: amd64 - redhat_tag: scan.connect.redhat.com/ospid-612d01d49f14588c41ebf67c/${{env.repo}}:${{env.version}}-ubi + redhat_tag: scan.connect.redhat.com/ospid-60f9fdbec3a80eac643abedf/${{env.repo}}:${{env.version}}-ubi smoke_test: .github/scripts/verify_docker.sh v${{ env.version }} verify-linux: