fix(devcontainer): add docker pull to init cmd

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-10-06 09:42:24 -04:00
1 parent 573cca5335
commit c6528ce3b9
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
"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": {
"setup": "bash ${containerWorkspaceFolder}/.devcontainer/postCreateCommand.sh"
},
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
with:
imageName: ghcr.io/${{ github.repository }}/devcontainer
# cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
imageTag: base,latest
imageTag: latest
platform: linux/amd64 #,linux/arm64
configFile: .devcontainer/ci/devcontainer.json
push: ${{ github.event_name == 'pull_request' && 'never' || 'always' }}