Skip to content

Commit bea8352

Browse files
committed
Updated demos
1 parent c33a2e2 commit bea8352

64 files changed

Lines changed: 4743 additions & 1137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/Dockerfile

Lines changed: 0 additions & 48 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

.devcontainer/post-create.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
# -----------------------------------------------------------------------------
2-
# GitHub Actions Workflow: Build & Push devlab Image to GHCR
2+
# GitHub Actions Workflow: Build & Push KubernetesLabs Docker Image to GHCR
33
#
4-
# This workflow builds the standalone devlab Docker image and pushes it to
5-
# GitHub Container Registry as a multi-arch image (amd64 + arm64).
4+
# Builds a standalone Docker image containing all tools (Kind, kubectl, Helm,
5+
# k9s, kubewall) and lab content, then pushes to GHCR as multi-arch.
66
#
7-
# Main Steps:
8-
# 1. Checkout the repository.
9-
# 2. Set up QEMU for cross-platform builds.
10-
# 3. Set up Docker Buildx.
11-
# 4. Login to GitHub Container Registry.
12-
# 5. Extract image metadata (tags, labels).
13-
# 6. Build and push the multi-arch image.
14-
#
15-
# The image is published to ghcr.io/<owner>/kubernetes-labs-devlab with `latest` and
16-
# `sha-<short>` tags so users can pull a ready-to-use environment.
7+
# Published to ghcr.io/<owner>/kubernetes-labs with `latest` and `sha-<short>` tags.
178
# -----------------------------------------------------------------------------
189

19-
name: Build devlab Image
10+
name: Build Docker Image
2011

2112
# Event triggers for the workflow
2213
on:
@@ -25,8 +16,8 @@ on:
2516
- main
2617
- master
2718
paths:
28-
- "scripts/Dockerfile.devlab"
29-
- "scripts/entrypoint-devlab.sh"
19+
- "docker/**"
20+
- "Labs/**"
3021
workflow_dispatch:
3122

3223
# Workflow permissions
@@ -37,7 +28,7 @@ permissions:
3728
# Concurrency settings
3829
concurrency:
3930
cancel-in-progress: true
40-
group: "devlab-build"
31+
group: "docker-build"
4132

4233
# The build job
4334
jobs:
@@ -64,16 +55,16 @@ jobs:
6455
id: meta
6556
uses: docker/metadata-action@v5
6657
with:
67-
images: ghcr.io/${{ github.repository_owner }}/kubernetes-labs-devlab
58+
images: ghcr.io/${{ github.repository_owner }}/kubernetes-labs
6859
tags: |
6960
type=raw,value=latest
7061
type=sha,prefix=sha-,format=short
7162
7263
- name: Build and push
7364
uses: docker/build-push-action@v6
7465
with:
75-
context: scripts/
76-
file: scripts/Dockerfile.devlab
66+
context: .
67+
file: docker/Dockerfile
7768
platforms: linux/amd64,linux/arm64
7869
push: true
7970
tags: ${{ steps.meta.outputs.tags }}

CLAUDE.md

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)