Skip to content

Commit 417d7ae

Browse files
authored
Add script for publishing dev container template (#16)
* Add publish script * Set executable mode on script * v1.1.1
1 parent d379689 commit 417d7ae

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

scripts/publish.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This script requires the devcontainer tool for publishing. You can install it with
2+
# npm install -g @devcontainers/cli
3+
# More details can be found here https://github.com/devcontainers/cli#try-it-out
4+
#
5+
# When running this script you need to set the environment variable GITHUB_TOKEN. You can
6+
# use a personal access token for the GITHUB_TOKEN varaiable
7+
devcontainer templates publish -r ghcr.io -n swift-server/swift-devcontainer-template ./src

src/swift/devcontainer-template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "swift",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"name": "Swift",
55
"description": "Develop Swift based applications. Includes appropriate runtime args and everything you need to get up and running.",
66
"documentationURL": "https://github.com/swift-server/swift-devcontainer-template/tree/main/README.md",

0 commit comments

Comments
 (0)