5 Commits

Author SHA1 Message Date
fbe5efdf0f bump: v0.0.16 -> v0.0.17 2025-04-16 05:33:20 -04:00
77f8362f88 fix: add package write perms 2025-04-16 05:31:33 -04:00
f18107f9c4 bump: v0.0.15 -> v0.0.16 2025-04-16 05:21:56 -04:00
dbcb719166 bump: v0.0.14 -> v0.0.15 2025-04-16 04:44:40 -04:00
cdbb7e2c4d fix: publish to ghcr too 2025-04-16 04:42:48 -04:00
4 changed files with 24 additions and 11 deletions

View File

@ -7,6 +7,7 @@ on:
permissions:
contents: write
packages: write
jobs:
release:
@ -45,16 +46,12 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
spotdemo4/trevstack
${{ github.repository }}
ghcr.io/${{ github.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Login to Docker Hub
uses: docker/login-action@v3
@ -62,6 +59,13 @@ jobs:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

View File

@ -1,12 +1,12 @@
{
"name": "trevstack",
"version": "0.0.14",
"version": "0.0.17",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "trevstack",
"version": "0.0.14",
"version": "0.0.17",
"devDependencies": {
"@connectrpc/connect": "^2.0.2",
"@connectrpc/connect-web": "^2.0.2",

View File

@ -1,7 +1,7 @@
{
"name": "trevstack",
"private": true,
"version": "0.0.14",
"version": "0.0.17",
"type": "module",
"scripts": {
"dev": "vite dev",

View File

@ -1,6 +1,15 @@
{
description = "A template for trevstack";
nixConfig = {
extra-substituters = [
"https://trevstack.cachix.org"
];
extra-trusted-public-keys = [
"trevstack.cachix.org-1:wlY2/NBLC4U4u8fD4WgW1kMstfiGbGmgDwE3dBho4tE="
];
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
treli.url = "github:spotdemo4/treli";
@ -12,7 +21,7 @@
...
}: let
pname = "trevstack";
version = "0.0.14";
version = "0.0.17";
supportedSystems = [
"x86_64-linux"
@ -90,7 +99,7 @@
pname = "${pname}-client";
inherit version;
src = ./client;
npmDepsHash = "sha256-Qux0gaCOhxxl2ti93NvELDG7cM9s1zt8ZLXoKzyzXJc=";
npmDepsHash = "sha256-I9Za0f5NKcBBZPqT4F9OWnDEXuiM1ZZk1VNkRM0nb/U=";
nodejs = pkgs.nodejs_22;
installPhase = ''