build(deps): bump k8s.io/apimachinery from 0.31.2 to 0.31.3 in the all group #376
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: e2e | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
if: github.repository == 'kubernetes-sigs/release-sdk' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Setup golang | ||
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | ||
with: | ||
go-version: '1.23' | ||
check-latest: true | ||
cache: true | ||
- name: Run local registry | ||
run: podman run -d -p 5000:5000 registry:2 | ||
- name: Build test image | ||
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13 | ||
id: test-image | ||
with: | ||
base-image: scratch | ||
image: test | ||
oci: true | ||
- name: Push test image to local registry | ||
id: push | ||
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8 | ||
with: | ||
image: ${{ steps.test-image.outputs.image }} | ||
registry: localhost:5000 | ||
tls-verify: false | ||
- name: Generate test file | ||
id: test-file | ||
run: | | ||
echo "release sign test" > ${{ runner.temp }}/test-file-${{ github.run_id }} | ||
- name: Run e2e tests | ||
run: go run mage.go E2ETest | ||
with: | ||
path: ${{ runner.temp }}/test-file-${{ github.run_id }} |