Skip to content

Bump github.com/spiffe/spire-api-sdk from 1.7.0 to 1.7.2 #433

Bump github.com/spiffe/spire-api-sdk from 1.7.0 to 1.7.2

Bump github.com/spiffe/spire-api-sdk from 1.7.0 to 1.7.2 #433

Workflow file for this run

name: PR Build
on:
pull_request: {}
workflow_dispatch: {}
env:
GO_VERSION: 1.20.1
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Lint
run: make lint
unit-test:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Run unit tests
run: make test
build-image:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build image
run: make docker-build
- name: Export images
run: tar -czvf images.tar.gz *-image.tar
- name: Archive image
uses: actions/[email protected]
with:
name: images
path: images.tar.gz
test-image:
runs-on: ubuntu-22.04
needs: [unit-test, build-image]
permissions:
contents: read
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install regctl
uses: regclient/actions/regctl-installer@main
- name: Download archived image
uses: actions/[email protected]
with:
name: images
path: .
- name: Load archived images
run: |
tar xvf images.tar.gz
make load-images
- name: Test image
run: |
docker tag ghcr.io/spiffe/spire-controller-manager:devel ghcr.io/spiffe/spire-controller-manager:nightly
(cd demo; ./test.sh)
success:
runs-on: ubuntu-22.04
needs: [lint, unit-test, build-image, test-image]
steps:
- name: Shout it out
run: echo SUCCESS