Skip to content

Commit 7f67edf

Browse files
sync codex-universal - aug 2025 (#80)
- adds PHP and RUBY version env vars - adds validation script - use mise to manage versioning for a couple of languages - adds more versions for rust - organization changes to the Dockerfile - fix GHA build by splitting amd64 and arm64 and adding github token
1 parent 67790c4 commit 7f67edf

File tree

5 files changed

+302
-174
lines changed

5 files changed

+302
-174
lines changed

.github/workflows/build-image.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,31 @@ jobs:
3737
- name: Set up Docker Buildx
3838
uses: docker/setup-buildx-action@v3
3939

40-
- name: Build and push
41-
id: docker_build
40+
- name: Build and push (amd64)
4241
uses: docker/build-push-action@v6
4342
with:
44-
platforms: linux/amd64,linux/arm64
43+
platforms: linux/amd64
4544
push: ${{ github.event_name == 'push' }}
4645
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
47-
cache-from: type=gha
48-
cache-to: type=gha,mode=max
46+
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
47+
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max,compression=zstd,oci-mediatypes=true
48+
provenance: false
49+
sbom: false
50+
secrets: |
51+
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
52+
53+
- name: Build and push (arm64)
54+
uses: docker/build-push-action@v6
55+
with:
56+
platforms: linux/arm64
57+
push: ${{ github.event_name == 'push' }}
58+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
59+
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
60+
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max,compression=zstd,oci-mediatypes=true
61+
provenance: false
62+
sbom: false
63+
secrets: |
64+
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
4965
5066
- name: Generate artifact attestation
5167
uses: actions/attest-build-provenance@v2

0 commit comments

Comments
 (0)