Skip to content

Update module github.com/google/go-containerregistry to v0.20.2 - autoclosed #61

Update module github.com/google/go-containerregistry to v0.20.2 - autoclosed

Update module github.com/google/go-containerregistry to v0.20.2 - autoclosed #61

name: CI on Pull Request
on:
pull_request:
jobs:
test-build-linux:
runs-on: ubuntu-latest
container:
image: rancher/dapper:v0.6.0
permissions:
contents: read
strategy:
matrix:
os: [ linux ]
arch: [ amd64, arm64 ]
steps:
- name: Fix the not-a-git-repository issue
run: |
apk -U add git
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout code
uses: actions/checkout@v4
- name: Set environment variables
run: |
echo "DAPPER_HOST_ARCH=${{ matrix.arch }}" >> "$GITHUB_ENV"
echo "GH_VERSION=${{ github.ref_name }}" >> "$GITHUB_ENV"
echo "GOARCH=${{ matrix.arch }}" >> "$GITHUB_ENV"
echo "GOOS=${{ matrix.os }}" >> "$GITHUB_ENV"
echo "CROSS=false" >> "$GITHUB_ENV"
- name: build with Dapper
run: dapper gha-ci