Docker version parity to reduce oss->ent merge conflicts (#1843)

pull/1847/head
modrake 4 years ago committed by GitHub
parent 8557442370
commit 2f7b4e5451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -306,13 +306,16 @@ jobs:
uses: docker/setup-qemu-action@v1
with:
image: docker.artifactory.hashicorp.engineering/prodsec-binfmt:latest
- name: Replace + in version
run: |
echo "dockerversion=$(echo ${{ needs.get-product-version.outputs.product-version }} | sed 's/+ent/-ent/g')" >> $GITHUB_ENV
- name: Docker Build (Action)
uses: hashicorp/actions-docker-build@v1
with:
version: ${{ env.version }}
version: ${{ env.dockerversion }}
target: default
arch: ${{ matrix.arch }}
zip_artifact_name: ${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_linux_${{ matrix.arch }}.zip
tags: |
docker.io/hashicorp/${{ env.repo }}:${{ env.version }}
public.ecr.aws/hashicorp/${{ env.repo }}:${{ env.version }}
docker.io/hashicorp/${{ env.repo }}:${{ env.dockerversion }}
public.ecr.aws/hashicorp/${{ env.repo }}:${{ env.dockerversion }}

Loading…
Cancel
Save