move devcontainer to containers
This commit is contained in:
parent
7e63572201
commit
7ad57f65c7
|
@ -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",
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue