Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
feat: create module tags once release is published
Browse files Browse the repository at this point in the history
  • Loading branch information
paralta committed Feb 27, 2024
1 parent f37c46a commit b4303d3
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/post-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Post Release
on:
release:
types: [published]

jobs:
create_module_tags:
name: Create module tags
runs-on: ubuntu-latest
strategy:
matrix:
tags:
- "uibackend/types"
- "uibackend/server"
- "uibackend/client"
- "core"
- "provider"
- "utils"
- "installation"
- "cli"
- "testenv"
- "api/types"
- "api/server"
- "api/client"
- "e2e"
- "containerruntimediscovery/types"
- "containerruntimediscovery/server"
- "containerruntimediscovery/client"
- "orchestrator"
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Create tags
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ matrix.tags }}/${{ github.ref_name }}',
sha: context.sha
})
- name: Create tags
# TODO: SSH Key required for signing
run: make multimod-push-tags

0 comments on commit b4303d3

Please sign in to comment.