feat: add devpod image — code-server, Claude Code, bun, kubectl
This commit is contained in:
30
.gitea/workflows/build-devpod.yml
Normal file
30
.gitea/workflows/build-devpod.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Build Devpod
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- Dockerfile.devpod
|
||||
- entrypoint-devpod.sh
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
REGISTRY: registry.digitalocean.com/lunarfront
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Login to DOCR
|
||||
run: echo "${{ secrets.DOCR_TOKEN }}" | docker login registry.digitalocean.com -u token --password-stdin
|
||||
|
||||
- name: Build and push devpod
|
||||
run: |
|
||||
docker build \
|
||||
-t $REGISTRY/lunarfront-devpod:latest \
|
||||
-f Dockerfile.devpod .
|
||||
docker push $REGISTRY/lunarfront-devpod:latest
|
||||
Reference in New Issue
Block a user