We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dfdbd3 commit 391da8dCopy full SHA for 391da8d
1 file changed
.github/workflows/flakehub-publish-tagged.yml
@@ -0,0 +1,29 @@
1
+name: "Publish tags to FlakeHub"
2
+on:
3
+ push:
4
+ tags:
5
+ - "v?[0-9]+.[0-9]+.[0-9]+*"
6
+ workflow_dispatch:
7
+ inputs:
8
+ tag:
9
+ description: "The existing tag to publish to FlakeHub"
10
+ type: "string"
11
+ required: true
12
+jobs:
13
+ flakehub-publish:
14
+ runs-on: "ubuntu-latest"
15
+ permissions:
16
+ id-token: "write"
17
+ contents: "read"
18
+ steps:
19
+ - uses: "actions/checkout@v5"
20
+ with:
21
+ persist-credentials: false
22
+ ref: "${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}"
23
+ - uses: "DeterminateSystems/determinate-nix-action@v3"
24
+ - uses: "DeterminateSystems/flakehub-push@main"
25
26
+ visibility: "public"
27
+ name: "rameezk/finwise-python"
28
+ tag: "${{ inputs.tag }}"
29
+ include-output-paths: true
0 commit comments