Skip to content

Commit 88a2739

Browse files
committed
.
1 parent 46a2592 commit 88a2739

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.devcontainer/devcontainer-base.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
}
1414
},
1515

16+
"containerEnv": {
17+
"VNC_RESOLUTION": "600x600x16"
18+
},
19+
1620
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1721
"forwardPorts": [6080, 5901],
1822

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build": {
1414
"dockerfile": "Dockerfile",
1515
"context": ".."
16-
},
16+
},
1717

1818
// Features to add to the dev container. More info: https://containers.dev/features.
1919
"features": {

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ npm install -g @devcontainers/cli
2828
cd <workspace, with a .devcontainer>
2929

3030
# Build
31-
devcontainer build --workspace-folder . --image-name ghcr.io/league-infrastructure/jtlpython:latest
31+
IMAGE_NAME=jtlpython:20240719
32+
devcontainer build --workspace-folder . --image-name ghcr.io/league-infrastructure/$IMAGE_NAME
3233

3334
#Login to container registry
3435
echo $GITHUB_TOKEN | docker login ghcr.io -u jointheleague-it --password-stdin
3536

3637
# Push
37-
docker push ghcr.io/league-infrastructure/jtlpython:latest
38-
```
38+
docker push ghcr.io/league-infrastructure/$IMAGE_NAME
3939

4040
The package will be in the packages tab of the [League-Infrastructure](https://github.com/league-infrastructure) repo, https://github.com/orgs/league-infrastructure/packages

0 commit comments

Comments
 (0)