Skip to content

Commit

Permalink
fix(swr): update buildx provenance to false (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinjiayi authored Sep 10, 2023
1 parent ec795eb commit 9ab9bc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-push-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4.2.1
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -181,9 +181,10 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
file: Dockerfile.jvm
provenance: false

build-native-images:
runs-on: [self-hosted, linux, x64]
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -305,7 +306,7 @@ jobs:
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4.2.1
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -315,4 +316,5 @@ jobs:
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
file: Dockerfile
file: Dockerfile
provenance: false
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
-Dmaven.compiler.release=${{ env.JAVA_VERSION }}
native-build-test:
runs-on: [self-hosted, linux, x64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 9ab9bc2

Please sign in to comment.