Skip to content

Migrate release 0.3 to gha #1

Migrate release 0.3 to gha

Migrate release 0.3 to gha #1

Workflow file for this run

name: goreleaser
on:
push:
pull_request:
permissions:
contents: write
jobs:
ci:
uses: rancher/backup-restore-operator/.github/workflows/ci.yaml@release/v0.3

Check failure on line 12 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "rancher/backup-restore-operator/.github/workflows/ci.yaml@release/v0.3" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
permissions:
contents: read
goreleaser:
needs: [
ci
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name : Package release helm charts
run : make package-helm
- run : mkdir -p ./build/artifacts/ && mv -v ./dist/artifacts/ ./build/
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}