Cosmetic changes

This commit is contained in:
danilapog 2022-06-06 15:51:48 +03:00
parent 23ef8035b1
commit feb902c93f
3 changed files with 7 additions and 6 deletions

View file

@ -52,15 +52,16 @@ jobs:
echo "Have access to documentserver${{ matrix.edition }} arm64 arch" echo "Have access to documentserver${{ matrix.edition }} arm64 arch"
echo "All architecture are available >> Build is starting." echo "All architecture are available >> Build is starting."
DOCKER_TAG=$(echo ${{ steps.tag_name.outputs.SOURCE_TAG }} | sed 's/^.//' ) DOCKER_TAG=$(echo ${{ steps.tag_name.outputs.SOURCE_TAG }} | sed 's/^.//' )
PRODUCT_EDITION=${{ matrix.edition }} COMPANY_NAME=${{ env.COMPANY_NAME }} PRODUCT_NAME=${{ env.PRODUCT_NAME }} \ PRODUCT_EDITION=${{ matrix.edition }} COMPANY_NAME=${{ env.COMPANY_NAME }} \
DOCKERFILE=Dockerfile PREFIX_NAME=4testing- TAG=$DOCKER_TAG \ PRODUCT_NAME=${{ env.PRODUCT_NAME }} DOCKERFILE=Dockerfile \
PREFIX_NAME=4testing- TAG=$DOCKER_TAG \
docker buildx bake \ docker buildx bake \
-f docker-bake.hcl ${{ matrix.images }} \ -f docker-bake.hcl ${{ matrix.images }} \
--push --push
echo "Build success >> exit with 0" echo "DONE: Build success >> exit with 0"
exit 0 exit 0
else else
echo "Have no access to some required architecture documentserver${{ matrix.edition }} >> Build did't started >> Exit with 0." echo "FAILED: Have no access to some required architecture documentserver${{ matrix.edition }} >> Build did't started >> Exit with 0."
exit 0 exit 0
fi fi
fi fi

View file

@ -52,7 +52,7 @@ jobs:
-f docker-bake.hcl ${{ matrix.images }} \ -f docker-bake.hcl ${{ matrix.images }} \
--push ; --push ;
else else
echo "Image with tag $DOCKER_TAG do not presented on docker.hub >> build will not started >> exit with 0" echo "FAILED: Image with tag $DOCKER_TAG do not presented on docker.hub >> build will not started >> exit with 0"
exit 0 exit 0
fi fi
shell: bash shell: bash

View file

@ -3,7 +3,7 @@ variable "TAG" {
} }
variable "COMPANY_NAME" { variable "COMPANY_NAME" {
default = "onlyoffice" default = ""
} }
variable "PREFIX_NAME" { variable "PREFIX_NAME" {