Skip to content

Commit

Permalink
workflows: disable provenance for legacy format images
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens committed Jul 28, 2023
1 parent 4fa134b commit 1bb2ac7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-legacy-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
context: .
tags: ${{ steps.debug-meta.outputs.tags }}
labels: ${{ steps.debug-meta.outputs.labels }}
provenance: false
platforms: linux/amd64
push: true
load: false
Expand All @@ -108,6 +109,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/${{ matrix.arch }}
provenance: false
push: true
load: false
build-args: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/call-integration-image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
target: production
provenance: false
push: true
load: false

Expand Down Expand Up @@ -103,6 +104,7 @@ jobs:
context: .
tags: ${{ steps.meta-debug.outputs.tags }}
labels: ${{ steps.meta-debug.outputs.labels }}
provenance: false
target: debug
platforms: linux/amd64
push: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-compile-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ jobs:
# No need to use after this so discard completely
push: false
load: false
provenance: false
10 changes: 6 additions & 4 deletions .github/workflows/pr-image-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
images: ${{ github.repository }}/pr-${{ github.event.pull_request.number }}
tags: |
type=sha
- name: Build the multi-arch images
id: build
uses: docker/build-push-action@v4
Expand All @@ -42,6 +42,7 @@ jobs:
context: .
platforms: linux/amd64
target: production
provenance: false
push: false
load: true
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -52,14 +53,15 @@ jobs:
run: |
docker run --rm -t ${{ steps.meta.outputs.tags }} --help
shell: bash

- name: Build the debug multi-arch images
uses: docker/build-push-action@v4
with:
file: ./dockerfiles/Dockerfile
context: .
platforms: linux/amd64
target: debug
provenance: false
push: false
load: false

Expand All @@ -86,7 +88,7 @@ jobs:
strategy:
fail-fast: true
matrix:
windows-base-version:
windows-base-version:
# https://github.com/fluent/fluent-bit/blob/1d366594a889624ec3003819fe18588aac3f17cd/dockerfiles/Dockerfile.windows#L3
- '2019'
- '2022'
Expand All @@ -105,7 +107,7 @@ jobs:
type=sha
flavor: |
suffix=-windows-${{ matrix.windows-base-version }}
- name: Build the windows images
id: build
run: |
Expand Down

0 comments on commit 1bb2ac7

Please sign in to comment.