mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
Merge pull request #1313 from crazy-max/ci-disable-gha
ci: disable gha cache and build summary
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -16,6 +16,7 @@ env:
|
||||
DOCKERHUB_SLUG: crazymax/diun
|
||||
GHCR_SLUG: ghcr.io/crazy-max/diun
|
||||
DESTDIR: ./bin
|
||||
DOCKER_BUILD_SUMMARY: false
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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'
|
||||
|
||||
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@@ -13,6 +13,7 @@ on:
|
||||
|
||||
env:
|
||||
DESTDIR: ./bin
|
||||
DOCKER_BUILD_SUMMARY: false
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@@ -30,8 +31,8 @@ jobs:
|
||||
name: Build docs
|
||||
uses: docker/bake-action@v5
|
||||
with:
|
||||
provenance: false
|
||||
targets: docs
|
||||
pull: true
|
||||
-
|
||||
name: Check GitHub Pages status
|
||||
uses: crazy-max/ghaction-github-status@v4
|
||||
|
||||
1
.github/workflows/e2e.yml
vendored
1
.github/workflows/e2e.yml
vendored
@@ -21,6 +21,7 @@ on:
|
||||
env:
|
||||
BUILD_TAG: 'diun:local'
|
||||
CONTAINER_NAME: 'diun'
|
||||
DOCKER_BUILD_SUMMARY: false
|
||||
|
||||
jobs:
|
||||
e2e:
|
||||
|
||||
Reference in New Issue
Block a user