[CI-only] Dev tag update for main (#13541)
This commit is contained in:
parent
187c72ead6
commit
5538ba212f
|
@ -232,6 +232,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:
|
||||
|
@ -242,8 +250,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:
|
||||
|
|
|
@ -10,7 +10,7 @@ var (
|
|||
// compiler.
|
||||
GitCommit string
|
||||
|
||||
// The main version number that is being run at the moment.
|
||||
// The next version number that will be released. This will be updated after every release.
|
||||
//
|
||||
// Version must conform to the format expected by github.com/hashicorp/go-version
|
||||
// for tests to work.
|
||||
|
|
Loading…
Reference in New Issue