mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Publish to FlakeHub
This commit is contained in:
parent
261a2e58fe
commit
b68d7396ca
1 changed files with 20 additions and 0 deletions
20
.github/workflows/publish.yml
vendored
Normal file
20
.github/workflows/publish.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Publish on FlakeHub
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: "DeterminateSystems/flakehub-push@main"
|
||||||
|
with:
|
||||||
|
visibility: "private"
|
||||||
|
name: "DeterminateSystems/nix-priv"
|
||||||
|
tag: "${{ github.ref_name }}"
|
Loading…
Add table
Add a link
Reference in a new issue