Make tarball target work with arm64 cross-compilation and simplify Makefile/Dockerfile #169
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check images digest for multi-arch | |
on: | |
pull_request: | |
paths: | |
- '**[dD]ockerfile**' | |
- '.github/workflow/digestcheck.yaml' | |
- 'contrib/digestcheck.sh' | |
- '!**vendor**' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install crane | |
env: | |
VERSION: "v0.15.2" | |
run: | | |
curl -sL "https://github.com/google/go-containerregistry/releases/download/$VERSION/go-containerregistry_Linux_x86_64.tar.gz" > go-containerregistry.tar.gz | |
tar -zxvf go-containerregistry.tar.gz -C /usr/local/bin/ crane | |
- name: Check digests | |
env: | |
TERM: xterm-color | |
run: ./contrib/digestcheck.sh ${{ github.workspace }} |