mirror of https://github.com/tailscale/tailscale/
.github: add flakehub-publish-tagged.yml (#9009)
This workflow will publish a flake to flakehub when a tag is pushed to the repository. It will only publish tags that match the pattern `v*.*.*`. Fixes #9008 Signed-off-by: Shayne Sweeney <shayne@tailscale.com>pull/8997/head
parent
35ff5bf5a6
commit
a3b0654ed8
@ -0,0 +1,17 @@
|
|||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '^v[0-9]+\.[0-9]*[02468]+\.[0-9]+$'
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
permissions:
|
||||||
|
id-token: "write"
|
||||||
|
contents: "read"
|
||||||
|
steps:
|
||||||
|
- uses: "actions/checkout@v3"
|
||||||
|
- uses: "DeterminateSystems/nix-installer-action@main"
|
||||||
|
- uses: "DeterminateSystems/flakehub-push@main"
|
||||||
|
with:
|
||||||
|
visibility: "public"
|
Loading…
Reference in New Issue