Skip to content

v0.22.0

v0.22.0 #33

Workflow file for this run

on:
release:
types: [published]
name: Upload Release Asset
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
- name: Publish tekton images and generate release manifests
run: |
echo ${{ secrets.QUAY_PASSWORD }} | podman login -u="${{ secrets.QUAY_BOT }}" --password-stdin quay.io
export RELEASE_VERSION="${{ steps.get_release.outputs.tag_name }}"
make release
- name: Upload manifest
id: manifest
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: manifests/kubevirt-tekton-tasks.yaml
asset_name: kubevirt-tekton-tasks.yaml
asset_content_type: text/plain