Skip to content

Test pipeline

Test pipeline #28

Workflow file for this run

name: Tag build
on:
push:
tags:
- '*'
branches: # FIXME to delete
- open-cloud-plugins # FIXME to delete
env:
BUCKET_NAME: botkube-cloud-plugins
VERSION: "v1.14.0" # FIXME to delete
GITHUB_TOKEN: ${{ secrets.RELEASE_GH_DEV_ACCOUNT_PAT }}
jobs:
release:
name: Release plugins
timeout-minutes: 60
runs-on: ubuntu-latest
# if: startsWith(github.ref, 'refs/tags/v') # FIXME to uncomment
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
version: latest
- name: Build plugins and generate plugins index.yaml
env:
PLUGIN_DOWNLOAD_URL_BASE_PATH: "${{ env.VERSION }}"
run: |
make publish-plugins
USE_ARCHIVE=true make gen-plugin-index
- name: Upload plugins index
run: |
gh release upload ${{ env.VERSION }} ./plugins-index.yaml --clobber