move devcontainer to containers

This commit is contained in:
kjeld Schouten-Lebbing 2021-05-30 13:23:27 +02:00
parent 7e63572201
commit 7ad57f65c7
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
3 changed files with 7 additions and 2 deletions

View File

@ -1,10 +1,10 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/ruby
{
"name": "Go",
"name": "TrueCharts-Dev",
"build": {
"context": "..",
"dockerfile": "Dockerfile",
"dockerfile": "containers/dev/devcontainer/Dockerfile",
"args": {
"VARIANT": "1.16",
}

View File

@ -8,11 +8,13 @@ on:
paths:
- 'containers/apps/**'
- 'containers/base/**'
- 'containers/dev/**'
- ".github/workflows/containers.build.yaml"
pull_request:
paths:
- 'containers/apps/**'
- 'containers/base/**'
- 'containers/dev/**'
- ".github/workflows/containers.build.yaml"
env:
@ -37,6 +39,7 @@ jobs:
changed:
- 'containers/apps/**'
- 'containers/base/**'
- 'containers/dev/**'
- run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json
- id: reduce
run: |
@ -77,6 +80,8 @@ jobs:
run: |
if test -f "./containers/apps/${{ matrix.container }}/Dockerfile"; then
CATEGORY="apps"
elif test -f "./containers/dev/${{ matrix.container }}/Dockerfile"; then
CATEGORY="dev"
else
CATEGORY="base"
fi