WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Merge pull request #478 from kubernetes-sigs/dependabot/go_modules/al… #482

Merge pull request #478 from kubernetes-sigs/dependabot/go_modules/al…

Merge pull request #478 from kubernetes-sigs/dependabot/go_modules/al… #482

Workflow file for this run

---
name: e2e
on:
push:
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup golang
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: '1.24'
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
env:
INPUT_PATH: ${{ runner.temp }}/test-file-${{ github.run_id }}