Skip to content

Commit

Permalink
[CI-only] Dev tag update for 1.12.x (#13540)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeggies authored Jun 24, 2022
1 parent 46cdf1e commit 506c19d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,14 @@ jobs:

steps:
- uses: actions/checkout@v2

# 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:
Expand All @@ -253,8 +261,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:
Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.0"
Version = "1.12.3"

// https://semver.org/#spec-item-10
VersionMetadata = ""
Expand Down

0 comments on commit 506c19d

Please sign in to comment.