Go to file
2025-12-26 01:03:42 +00:00
.gitea/workflows fix: Udpate code 2025-12-26 00:51:38 +00:00
Dockerfile fix: Udpate code 2025-12-26 00:18:10 +00:00
index.ts fix: Udpate code 2025-12-26 00:18:10 +00:00
README.md fix: Update 2025-12-26 01:03:42 +00:00

Hello World - Bun.js

A simple Hello World application built with Bun.js.

Run Locally

bun run index.ts

Run with Docker

Build the image:

docker build -t hello-bun .

Run the container:

docker run hello-bun

CI/CD Pipeline

This repo includes a Gitea Actions workflow that automatically builds and publishes the Docker image to Gitea's container registry on every push to main.

Setup Required

  1. Enable Actions in your Gitea repository settings
  2. Create a secret named REGISTRY_TOKEN:
    • Go to Repository → Settings → Actions → Secrets
    • Add a new secret REGISTRY_TOKEN with your Gitea access token

Pull the Published Image

After the pipeline runs, pull your image:

docker pull <your-gitea-url>/<owner>/<repo>:latest

Output

Hello World! 🌍

=======

Test