SDK and go version update. #262
Workflow file for this run
This file contains hidden or 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: Build Containers | |
| # \\ SPIKE: Secure your secrets with SPIFFE. — https://spike.ist/ | |
| # \\\\\ Copyright 2024-present SPIKE contributors. | |
| # \\\\\\\ SPDX-License-Identifier: Apache-2.0 | |
| on: | |
| pull_request: {} | |
| env: | |
| REGISTRY: ghcr.io | |
| REPOSITORY: spiffe | |
| COSIGN_EXPERIMENTAL: 1 | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.archmap[matrix.arch] }} | |
| strategy: | |
| matrix: | |
| app: [pilot, keeper, nexus, demo, bootstrap] | |
| arch: [linux/amd64, linux/arm64] | |
| archmap: [{ | |
| "linux/amd64": "ubuntu-24.04", | |
| "linux/arm64": "ubuntu-24.04-arm" | |
| }] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Install cosign | |
| uses: sigstore/[email protected] | |
| # Build and push images using the script | |
| - name: Build and push images | |
| run: | | |
| # Set version as GitHub SHA hash. | |
| VERSION="${{ github.sha }}" | |
| ./hack/docker/build-push-sign.sh \ | |
| ${{ matrix.app }} ${{ matrix.arch }} \ | |
| ${VERSION} ${{ env.REGISTRY }} ${{ env.REPOSITORY }} |