mirror of
https://github.com/ONLYOFFICE/Docker-DocumentServer.git
synced 2026-04-07 14:01:38 +08:00
Add provenance information to bake build steps
This commit is contained in:
2
.github/workflows/4testing-build.yml
vendored
2
.github/workflows/4testing-build.yml
vendored
@ -155,7 +155,7 @@ jobs:
|
|||||||
|
|
||||||
### ==>> Build and push images at this step ###
|
### ==>> Build and push images at this step ###
|
||||||
|
|
||||||
docker buildx bake --sbom=true -f docker-bake.hcl "${IMAGE}" --push
|
docker buildx bake --sbom=true --provenance=mode=max -f docker-bake.hcl "${IMAGE}" --push
|
||||||
echo "DONE: Build success"
|
echo "DONE: Build success"
|
||||||
|
|
||||||
### Set output for Zap scanner
|
### Set output for Zap scanner
|
||||||
|
|||||||
6
.github/workflows/stable-build.yml
vendored
6
.github/workflows/stable-build.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
|||||||
export TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
export TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
||||||
export SHORTER_TAG=${VERSION%.*}
|
export SHORTER_TAG=${VERSION%.*}
|
||||||
export SHORTEST_TAG=${VERSION%.*.*}
|
export SHORTEST_TAG=${VERSION%.*.*}
|
||||||
docker buildx bake --sbom=true -f docker-bake.hcl "${TARGET}" --push
|
docker buildx bake --sbom=true --provenance=mode=max -f docker-bake.hcl "${TARGET}" --push
|
||||||
echo "DONE: Build success >> exit with 0"
|
echo "DONE: Build success >> exit with 0"
|
||||||
exit 0
|
exit 0
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -110,7 +110,7 @@ jobs:
|
|||||||
set -eux
|
set -eux
|
||||||
export PULL_TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
export PULL_TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
||||||
export TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
export TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
||||||
docker buildx bake --sbom=true -f docker-bake.hcl "${TARGET}" --push
|
docker buildx bake --sbom=true --provenance=mode=max -f docker-bake.hcl "${TARGET}" --push
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
build-ucs-ubuntu20:
|
build-ucs-ubuntu20:
|
||||||
@ -148,5 +148,5 @@ jobs:
|
|||||||
export PACKAGE_SUFFIX=
|
export PACKAGE_SUFFIX=
|
||||||
export TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
export TAG=${VERSION%.*}.${RELEASE_NUMBER}
|
||||||
export PACKAGE_VERSION=$( echo ${VERSION} | sed -E 's/(.*)\./\1-/')
|
export PACKAGE_VERSION=$( echo ${VERSION} | sed -E 's/(.*)\./\1-/')
|
||||||
docker buildx bake --sbom=true -f docker-bake.hcl documentserver-ucs --push
|
docker buildx bake --sbom=true --provenance=mode=max -f docker-bake.hcl documentserver-ucs --push
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user