From c279bbb5f2a3f247d95f178eaa31bef85643fae2 Mon Sep 17 00:00:00 2001 From: Michele Degges Date: Mon, 28 Feb 2022 16:45:35 -0800 Subject: [PATCH] CI fix docker build job for nightly release failure (#11609) --- .github/workflows/build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 745797238..81b2992f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,16 +28,11 @@ jobs: echo "::set-output name=go-version::$(cat .go-version)" get-product-version: - needs: get-go-version runs-on: ubuntu-latest outputs: product-version: ${{ steps.get-product-version.outputs.product-version }} steps: - uses: actions/checkout@v2 - - name: Setup go - uses: actions/setup-go@v2 - with: - go-version: "${{ needs.get-go-version.outputs.go-version }}" - name: get product version id: get-product-version run: | @@ -169,7 +164,7 @@ jobs: - name: Linux Packaging uses: hashicorp/actions-packaging-linux@v1 with: - name: "${{ env.PKG_NAME }}" + name: ${{ env.PKG_NAME }} description: "HashiCorp Packer - A tool for creating identical machine images for multiple platforms from a single source configuration" arch: ${{ matrix.goarch }} version: ${{ needs.get-product-version.outputs.product-version }} @@ -243,8 +238,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: ["arm", "arm64", "386", "amd64"] + arch: [ "arm", "arm64", "386", "amd64" ] env: + repo: ${{ env.PKG_NAME }} version: ${{ needs.get-product-version.outputs.product-version }} steps: - uses: actions/checkout@v2