Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
tsirysndr/daggerversePublish a Nix Flake from a Github Repository to flakestry
Module: Flakestry
Publish a Nix Flake from a Github Repository to flakestry.
🚀 Usage
dagger call -m github.com/tsirysndr/daggerverse/flakestry publish \ --src . \ --version v0.1.0 \ --gh-token GH_TOKEN \ --ref $REF \ --actions-id-token-request-token ACTIONS_ID_TOKEN_REQUEST_TOKEN \ --actions-id-token-request-url ACTIONS_ID_TOKEN_REQUEST_URL
Arguments
Name | Description | Required |
---|---|---|
src | Directory containing the flake to be published to flakestry. | true |
version | Version of the flake to be published to flakestry. | true |
gh-token | GitHub Access Token | true |
ref | Git sha reference of the flake to be published to flakestry. | true |
actions-id-token-request-token | GitHub Actions ID token request token. | true |
actions-id-token-request-url | GitHub Actions ID token request URL. | true |
url | URL of the flakestry API | false |
ignore-conflicts | Ignore conflicts when publishing the flake to flakestry. | false |
🧑💻 Programmatic usage
import { publish } from 'jsr:@fx/flakestry'; await publish(".", "v0.1.0", Deno.env.get("GH_TOKEN")!, Deno.env.get("REF")!, Deno.env.get("ACTIONS_ID_TOKEN_REQUEST_TOKEN")!, Deno.env.get("ACTIONS_ID_TOKEN_REQUEST_URL")! );
Built and signed on
GitHub Actions
Add Package
deno add jsr:@fx/flakestry
Import symbol
import * as flakestry from "@fx/flakestry";
Import directly with a jsr specifier
import * as flakestry from "jsr:@fx/flakestry";
Add Package
pnpm i jsr:@fx/flakestry
pnpm dlx jsr add @fx/flakestry
Import symbol
import * as flakestry from "@fx/flakestry";
Add Package
yarn add jsr:@fx/flakestry
yarn dlx jsr add @fx/flakestry
Import symbol
import * as flakestry from "@fx/flakestry";
Add Package
npx jsr add @fx/flakestry
Import symbol
import * as flakestry from "@fx/flakestry";
Add Package
bunx jsr add @fx/flakestry
Import symbol
import * as flakestry from "@fx/flakestry";