Cosmetic changes
This commit is contained in:
parent
23ef8035b1
commit
feb902c93f
9
.github/workflows/build-4testing.yml
vendored
9
.github/workflows/build-4testing.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/build-stable.yml
vendored
2
.github/workflows/build-stable.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -3,7 +3,7 @@ variable "TAG" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "COMPANY_NAME" {
|
variable "COMPANY_NAME" {
|
||||||
default = "onlyoffice"
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "PREFIX_NAME" {
|
variable "PREFIX_NAME" {
|
||||||
|
|
Loading…
Reference in a new issue