Skip to content

Commit dfb2176

Browse files
authored
Merge pull request #8 from devcontainer-config/dev
publish image
2 parents a97c23a + 576efee commit dfb2176

38 files changed

Lines changed: 308 additions & 200 deletions

File tree

.config/appveyor/publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ skip_non_tags: true
66
image: Ubuntu2004
77
environment:
88
NPM_TOKEN: NPM_TOKEN
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: devcontainer-config/setup
11+
REGISTRY_TOKEN: REGISTRY_TOKEN
912
build_script:
1013
- sh: >-
1114
set -e
@@ -22,3 +25,9 @@ deploy_script:
2225
devcontainer exec --workspace-folder . pnpm build
2326
2427
devcontainer exec --workspace-folder . --remote-env NPM_TOKEN=${NPM_TOKEN} pnpm run publish
28+
29+
devcontainer exec --workspace-folder . \
30+
--remote-env REGISTRY=${REGISTRY} \
31+
--remote-env IMAGE_NAME=${IMAGE_NAME} \
32+
--remote-env REGISTRY_TOKEN=${REGISTRY_TOKEN} \
33+
pnpm run buildx

.config/cspell/cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"gitignoreRoot": ".",
66
"ignorePaths": ["LICENSE", "local.env"],
77
"words": [
8+
"buildx",
89
"csharpierignore",
910
"csharpierrc",
1011
"devcontainer",
1112
"devcontainers",
13+
"distroless",
1214
"execa",
1315
"globalconfig",
1416
"msbuild",

.config/dotnet/tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"csharpier": {
6-
"version": "1.0.0",
6+
"version": "1.2.0",
77
"commands": ["csharpier"],
88
"rollForward": false
99
}

.config/eslint/eslint.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import eslint from "@eslint/js";
22
import vitest from "@vitest/eslint-plugin";
3+
import { defineConfig } from "eslint/config";
34
import prettier from "eslint-config-prettier";
45
import { gitignore } from "eslint-flat-config-gitignore";
56
import importPlugin from "eslint-plugin-import";
@@ -9,7 +10,7 @@ import eslintPluginUnicorn from "eslint-plugin-unicorn";
910
import globals from "globals";
1011
import tsESLint from "typescript-eslint";
1112

12-
export default tsESLint.config(
13+
export default defineConfig(
1314
await gitignore(import.meta.dirname),
1415
{
1516
linterOptions: { reportUnusedDisableDirectives: true },

.config/eslint/plugins.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

.config/git/ignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ _*
77
local.env
88

99
node_modules/
10-
11-
dist/

.config/pnpm/rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
lockfile=false
22
resolution-mode=time-based
33
store-dir=/home/dev/.local/share/pnpm/store
4+
global-bin-dir=/home/dev/.local/bin
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
2+
"extends": "@tsconfig/node24/tsconfig.json",
33
"compilerOptions": {
44
"resolveJsonModule": true,
5-
"module": "Node18"
5+
"module": "node18"
66
}
77
}

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM mcr.microsoft.com/devcontainers/javascript-node:22
1+
FROM mcr.microsoft.com/devcontainers/javascript-node:24-bookworm
22

33
RUN npm install --global pnpm@latest-10

.devcontainer/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
devcontainer:
33
env_file:
44
- .env
5-
- path: local.env
5+
- path: ../.local/.env
66
required: false
77
build:
88
context: .

0 commit comments

Comments
 (0)