Skip to content

Commit 357d5f2

Browse files
authored
Merge pull request #1313 from crazy-max/ci-disable-gha
ci: disable gha cache and build summary
2 parents 1ca5d37 + 8910374 commit 357d5f2

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

.github/workflows/build.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
DOCKERHUB_SLUG: crazymax/diun
1717
GHCR_SLUG: ghcr.io/crazy-max/diun
1818
DESTDIR: ./bin
19+
DOCKER_BUILD_SUMMARY: false
1920

2021
jobs:
2122
prepare:
@@ -119,8 +120,6 @@ jobs:
119120
pull: true
120121
set: |
121122
*.platform=${{ matrix.platform }}
122-
*.cache-from=type=gha,scope=artifact-${{ env.PLATFORM_PAIR }}
123-
*.cache-to=type=gha,scope=artifact-${{ env.PLATFORM_PAIR }},mode=max
124123
-
125124
name: Rename provenance and sbom
126125
working-directory: ${{ env.DESTDIR }}/artifact
@@ -193,17 +192,6 @@ jobs:
193192
uses: actions/checkout@v4
194193
with:
195194
fetch-depth: 0
196-
-
197-
name: Prepare
198-
run: |
199-
cfroms=
200-
while read -r platform; do
201-
if [ -n "$cfroms" ]; then cfroms="${cfroms}\n"; fi
202-
cfroms="${cfroms}*.cache-from=type=gha,scope=artifact-${platform//\//-}"
203-
done < <(docker buildx bake artifact-all --print | jq -r '.target."artifact-all".platforms[]')
204-
echo "CACHE_FROMS<<EOF" >> $GITHUB_ENV
205-
echo -e "$cfroms" >> $GITHUB_ENV
206-
echo "EOF" >> $GITHUB_ENV
207195
-
208196
name: Docker meta
209197
id: meta
@@ -255,8 +243,6 @@ jobs:
255243
sbom: true
256244
pull: true
257245
push: ${{ github.event_name != 'pull_request' }}
258-
set: |
259-
${{ env.CACHE_FROMS }}
260246
-
261247
name: Check manifest
262248
if: github.event_name != 'pull_request'

.github/workflows/docs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313

1414
env:
1515
DESTDIR: ./bin
16+
DOCKER_BUILD_SUMMARY: false
1617

1718
jobs:
1819
publish:
@@ -30,8 +31,8 @@ jobs:
3031
name: Build docs
3132
uses: docker/bake-action@v5
3233
with:
34+
provenance: false
3335
targets: docs
34-
pull: true
3536
-
3637
name: Check GitHub Pages status
3738
uses: crazy-max/ghaction-github-status@v4

.github/workflows/e2e.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121
env:
2222
BUILD_TAG: 'diun:local'
2323
CONTAINER_NAME: 'diun'
24+
DOCKER_BUILD_SUMMARY: false
2425

2526
jobs:
2627
e2e:

0 commit comments

Comments
 (0)