Skip to content

Commit 45bda82

Browse files
committed
provenance, sbom off
1 parent e6005e2 commit 45bda82

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,16 @@ jobs:
3434
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
3535
- run: "echo '${{ github.sha }}' > REVISION"
3636
- name: 'Build Docker image'
37-
uses: 'docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6' # v3.3.1
38-
with:
39-
context: '.'
40-
load: true
41-
tags: "sponsor-app-test:latest,${{ steps.login-ecr.outputs.registry }}/sponsor-app:${{ github.sha }},${{ steps.login-ecr.outputs.registry }}/sponsor-app:latest"
42-
cache-from: type=gha
43-
cache-to: type=gha,mode=max
44-
- name: 'Push Docker image'
4537
uses: 'docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6' # v3.3.1
4638
with:
4739
context: '.'
4840
push: true
4941
tags: "${{ steps.login-ecr.outputs.registry }}/sponsor-app:${{ github.sha }},${{ steps.login-ecr.outputs.registry }}/sponsor-app:latest"
42+
cache-from: type=gha
43+
cache-to: type=gha,mode=max
44+
# prevent manifest from being pushed instead of image on the specified tags for Lambda
45+
provenance: false
46+
sbom: false
5047

5148
deploy-prod:
5249
if: "${{ success() && github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') }}"

0 commit comments

Comments
 (0)