Skip to content

Commit

Permalink
Merge pull request #390 from crazy-max/ci-disable-gha-cache
Browse files Browse the repository at this point in the history
ci: disable gha cache and build summary
  • Loading branch information
crazy-max authored Dec 20, 2024
2 parents b781131 + 541b5cc commit 28e56d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
DOCKERHUB_SLUG: crazymax/ftpgrab
GHCR_SLUG: ghcr.io/crazy-max/ftpgrab
DESTDIR: ./bin
DOCKER_BUILD_SUMMARY: false

jobs:
prepare:
Expand Down Expand Up @@ -119,8 +120,6 @@ jobs:
pull: true
set: |
*.platform=${{ matrix.platform }}
*.cache-from=type=gha,scope=artifact-${{ env.PLATFORM_PAIR }}
*.cache-to=type=gha,scope=artifact-${{ env.PLATFORM_PAIR }},mode=max
-
name: Rename provenance and sbom
working-directory: ${{ env.DESTDIR }}/artifact
Expand Down Expand Up @@ -193,17 +192,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Prepare
run: |
cfroms=
while read -r platform; do
if [ -n "$cfroms" ]; then cfroms="${cfroms}\n"; fi
cfroms="${cfroms}*.cache-from=type=gha,scope=artifact-${platform//\//-}"
done < <(docker buildx bake artifact-all --print | jq -r '.target."artifact-all".platforms[]')
echo "CACHE_FROMS<<EOF" >> $GITHUB_ENV
echo -e "$cfroms" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
-
name: Docker meta
id: meta
Expand Down Expand Up @@ -255,8 +243,6 @@ jobs:
sbom: true
pull: true
push: ${{ github.event_name != 'pull_request' }}
set: |
${{ env.CACHE_FROMS }}
-
name: Check manifest
if: github.event_name != 'pull_request'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:

env:
DESTDIR: ./bin
DOCKER_BUILD_SUMMARY: false

jobs:
publish:
Expand All @@ -30,6 +31,7 @@ jobs:
name: Build docs
uses: docker/bake-action@v5
with:
provenance: false
targets: docs
-
name: Check GitHub Pages status
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
CONTAINER_NAME: 'ftpgrab'
RUNNING_TIMEOUT: '240'
RUNNING_LOG_CHECK: 'Finished'
DOCKER_BUILD_SUMMARY: false

jobs:
e2e:
Expand All @@ -32,6 +33,7 @@ jobs:
name: Build
uses: docker/bake-action@v5
with:
provenance: false
targets: image-local
pull: true
-
Expand Down

0 comments on commit 28e56d9

Please sign in to comment.