Skip to content

Commit b3ebccd

Browse files
committed
Try publishing features
1 parent c1407da commit b3ebccd

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/release-features.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: release-features
33
on:
44
push:
55
branches:
6+
- fix-template-build
67
- main
78
paths:
9+
- .github/workflows/release-features.yml
810
- features/**
911

1012
jobs:
@@ -27,3 +29,13 @@ jobs:
2729
generate-docs: "true"
2830
env:
2931
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
33+
- name: Login to GitHub Container Registry
34+
uses: docker/login-action@v3
35+
with:
36+
registry: ghcr.io
37+
username: ${{ github.actor }}
38+
password: ${{ secrets.GITHUB_TOKEN }}
39+
40+
- name: Publish features
41+
run: npx --yes @devcontainers/cli features publish ./features -n ${{ github.repository }}

features/mount-dotai/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainerFeature.schema.json",
33
"id": "feature-mount-dotai",
44
"name": "feature-mount-dotai",
5-
"version": "1.0.1",
5+
"version": "1.0.0",
66
"mounts": [
77
{
88
"source": "/Users/${localEnv:USER}/.dotai/config/agents",

0 commit comments

Comments
 (0)