File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 platforms : linux/amd64
4040 push : ${{ github.event_name == 'push' }}
4141 tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:amd64-${{ github.sha }}
42- cache-from : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64
43- cache-to : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64,mode=max
42+ cache-from : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
43+ cache-to : type=inline
4444 provenance : false
4545 sbom : false
4646 secrets : |
@@ -68,15 +68,15 @@ jobs:
6868 platforms : linux/arm64
6969 push : ${{ github.event_name == 'push' }}
7070 tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:arm64-${{ github.sha }}
71- cache-from : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64
72- cache-to : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64,mode=max
71+ cache-from : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
72+ cache-to : type=inline
7373 provenance : false
7474 sbom : false
7575 secrets : |
7676 GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
7777
7878 manifest-and-attest :
79- if : ${{ github.event_name == 'push' }}
79+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
8080 runs-on :
8181 group : codex-runners
8282 labels : codex-linux-x64
You can’t perform that action at this time.
0 commit comments