Skip to content

fix: disable arm64 builds #86

fix: disable arm64 builds

fix: disable arm64 builds #86

name: images are public
on:
push:
branches:
- main
jobs:
images-are-public:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
- uses: GeoNet/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c # main
- name: check images are public
run: |
# NOTE: important to not use auth
jq -r -c '.sync as $sync | .build as $build | {"include":[{"destination": $sync[].destination}, {"destination": $build[].destination}]} | .include[] | select(.destination | contains("amazonaws.com") | not) | .destination' <<< "$(yq e . -o json config.yaml)" \
| xargs -n 1 -I{} crane digest {}