ci: stop docker build records and cap artifact retention (#149)
Disable build-push-action build record uploads in publish-server-image; they are large and unused by the digest publish flow. Digest artifacts already expire after one day. Set seven-day retention on desktop e2e screenshots so CI debug uploads do not inherit the org default. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
f3fb07e41f
commit
2f8d7175f6
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -134,6 +134,7 @@ jobs:
|
|||||||
name: desktop-e2e-screenshots
|
name: desktop-e2e-screenshots
|
||||||
path: apps/desktop/e2e/screenshots
|
path: apps/desktop/e2e/screenshots
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Unit tests
|
name: Unit tests
|
||||||
|
|||||||
2
.github/workflows/publish-server-image.yml
vendored
2
.github/workflows/publish-server-image.yml
vendored
@ -27,6 +27,8 @@ permissions:
|
|||||||
env:
|
env:
|
||||||
# docker/metadata-action otherwise truncates commit tags to seven collision-prone characters.
|
# docker/metadata-action otherwise truncates commit tags to seven collision-prone characters.
|
||||||
DOCKER_METADATA_SHORT_SHA_LENGTH: 40
|
DOCKER_METADATA_SHORT_SHA_LENGTH: 40
|
||||||
|
# build-push-action v6 uploads large *.dockerbuild records by default; publish only needs digest artifacts.
|
||||||
|
DOCKER_BUILD_RECORD_UPLOAD: false
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: publish-server-image-${{ github.ref }}
|
group: publish-server-image-${{ github.ref }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user