Change tag for nonexample image

This commit is contained in:
danilapog 2022-08-24 17:24:31 +03:00
parent e637d670a4
commit df34b1b528

View file

@ -100,11 +100,10 @@ jobs:
- name: build image
run: |
TAG=$(echo ${{ steps.tag_name.outputs.SOURCE_TAG }} | sed 's/^.//; s/-stable//')
SHORTER_TAG=$(echo ${TAG} | grep -o -P '^[\d]+\.[\d]+\.[\d]+')
PRODUCT_EDITION=${{ matrix.edition }} \
PRODUCT_NAME=${{ env.PRODUCT_NAME }} \
COMPANY_NAME=${{ env.COMPANY_NAME }} \
TAG=$SHORTER_TAG \
TAG=$TAG \
docker buildx bake \
-f docker-bake.hcl ${{ matrix.images }} \
--push