Files
lunarfront-app/.gitea/workflows/build-devpod.yml
Ryan Moon 3d081ee01f
All checks were successful
Build & Release / build (push) Successful in 18s
fix: push devpod image to manager repo as devpod-latest tag
2026-04-04 08:36:08 -05:00

32 lines
712 B
YAML

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/manager:devpod-latest \
-f Dockerfile.devpod .
docker push $REGISTRY/manager:devpod-latest