fix(devcontainer): add docker pull to init cmd
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
|
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
|
||||||
"name": "Flux Cluster Template",
|
"name": "Flux Cluster Template",
|
||||||
"image": "ghcr.io/onedr0p/cluster-template/devcontainer:base",
|
"image": "ghcr.io/onedr0p/cluster-template/devcontainer:latest",
|
||||||
|
"initializeCommand": "docker pull ghcr.io/onedr0p/cluster-template/devcontainer:latest",
|
||||||
"postCreateCommand": {
|
"postCreateCommand": {
|
||||||
"setup": "bash ${containerWorkspaceFolder}/.devcontainer/postCreateCommand.sh"
|
"setup": "bash ${containerWorkspaceFolder}/.devcontainer/postCreateCommand.sh"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
imageName: ghcr.io/${{ github.repository }}/devcontainer
|
imageName: ghcr.io/${{ github.repository }}/devcontainer
|
||||||
# cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
|
# cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
|
||||||
imageTag: base,latest
|
imageTag: latest
|
||||||
platform: linux/amd64 #,linux/arm64
|
platform: linux/amd64 #,linux/arm64
|
||||||
configFile: .devcontainer/ci/devcontainer.json
|
configFile: .devcontainer/ci/devcontainer.json
|
||||||
push: ${{ github.event_name == 'pull_request' && 'never' || 'always' }}
|
push: ${{ github.event_name == 'pull_request' && 'never' || 'always' }}
|
||||||
Reference in new issue
Block a user