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

This commit is contained in:
modrake authored and GitHub committed 2022-02-04 09:54:26 -08:00
1 parent 8557442370
commit 2f7b4e5451
1 file changed
+6 -3
+6 -3
View File
@@ -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 }}