diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48f74024ba83..6c94d0546983 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -239,7 +239,7 @@ jobs: env: repo: ${{github.event.repository.name}} version: ${{needs.get-product-version.outputs.product-version}} - + steps: - uses: actions/checkout@v2 @@ -248,6 +248,13 @@ jobs: with: platforms: all + # Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix + # This naming convention will be used ONLY for per-commit dev images + - name: Set docker dev tag + run: | + version="${{ env.version }}" + echo "dev_tag=${version%.*}-dev" >> $GITHUB_ENV + - name: Docker Build (Action) uses: hashicorp/actions-docker-build@v1 with: @@ -258,8 +265,8 @@ jobs: docker.io/hashicorp/${{env.repo}}:${{env.version}} public.ecr.aws/hashicorp/${{env.repo}}:${{env.version}} dev_tags: | - docker.io/hashicorppreview/${{ env.repo }}:${{ env.version }} - docker.io/hashicorppreview/${{ env.repo }}:${{ env.version }}-${{ github.sha }} + docker.io/hashicorppreview/${{ env.repo }}:${{ env.dev_tag }} + docker.io/hashicorppreview/${{ env.repo }}:${{ env.dev_tag }}-${{ github.sha }} smoke_test: .github/scripts/verify_docker.sh v${{ env.version }} build-docker-redhat: diff --git a/version/version.go b/version/version.go index 827f51850077..77f436113b49 100644 --- a/version/version.go +++ b/version/version.go @@ -10,11 +10,11 @@ var ( // compiler. GitCommit string - // The main version number that is being run at the moment. + // The next version number that will be released in this series. // // Version must conform to the format expected by github.com/hashicorp/go-version // for tests to work. - Version = "1.11.3" + Version = "1.11.7" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release