Skip to content

Commit 85d0185

Browse files
committed
ci: ensure we don't push manifest list
1 parent 2cac3ce commit 85d0185

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
context: '.'
3434
load: true
3535
tags: "rko-router-test:latest,${{ steps.login-ecr.outputs.registry }}/rko-router:${{ github.sha }},${{ steps.login-ecr.outputs.registry }}/rko-router:latest"
36+
cache-from: type=gha
37+
cache-to: type=gha,mode=max
3638
- name: 'Start container for test'
3739
run: |
3840
set -x
@@ -52,11 +54,24 @@ jobs:
5254
export TARGET_HOST="http://$(docker port rko-router-dut 8080)"
5355
bundle exec rspec -fd || ( docker logs rko-router-dut; false )
5456
- name: 'Push Docker image'
55-
uses: 'docker/build-push-action@v5'
57+
uses: 'docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8' # v6.19.2
5658
with:
5759
context: '.'
5860
push: true
5961
tags: "${{ steps.login-ecr.outputs.registry }}/rko-router:${{ github.sha }},${{ steps.login-ecr.outputs.registry }}/rko-router:latest"
62+
cache-from: type=gha
63+
cache-to: type=gha,mode=max
64+
- name: 'Push Docker image'
65+
uses: 'docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8' # v6.19.2
66+
with:
67+
context: '.'
68+
push: true
69+
tags: "${{ steps.login-ecr.outputs.registry }}/rko-router:${{ github.sha }}-amd64"
70+
cache-from: type=gha
71+
cache-to: type=gha,mode=max
72+
# Lambda does not support manifest list
73+
sbom: false
74+
provenance: false
6075

6176
deploy-lambda:
6277
name: deploy-lambda

0 commit comments

Comments
 (0)