ci: only build for amd64 in local build
This commit is contained in:
parent
0966e59bce
commit
68c5d13196
2 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
- name: Scan current project
|
- name: Scan current project
|
||||||
id: scan
|
id: scan
|
||||||
uses: anchore/scan-action@v6
|
uses: anchore/scan-action@v7
|
||||||
with:
|
with:
|
||||||
path: "."
|
path: "."
|
||||||
|
|
||||||
|
|
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -67,7 +67,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
target: production
|
target: production
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
tags: local/zerobyte:ci
|
tags: local/zerobyte:ci
|
||||||
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
APP_VERSION=${{ needs.determine-release-type.outputs.tagname }}
|
APP_VERSION=${{ needs.determine-release-type.outputs.tagname }}
|
||||||
|
|
||||||
- name: Scan new image for vulnerabilities
|
- name: Scan new image for vulnerabilities
|
||||||
uses: anchore/scan-action@v3
|
uses: anchore/scan-action@v7
|
||||||
id: scan
|
id: scan
|
||||||
with:
|
with:
|
||||||
image: local/zerobyte:ci
|
image: local/zerobyte:ci
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue