No description
Find a file
Kevin Sivic 4bc996334f
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11s
Document FORGEJO_TOKEN setup for CI/CD
Add comprehensive documentation for setting up the personal
access token required for the Forgejo Actions CI/CD pipeline
to push Docker images to the container registry.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 08:10:44 -05:00
.claude Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
.forgejo/workflows Update secret name to FORGEJO_TOKEN 2025-12-01 07:56:11 -05:00
assets Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
config Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
lib Fix Docker OpenSSL compatibility and deprecation warnings 2025-11-28 22:15:45 -05:00
priv Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
test Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
.dockerignore Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
.env.example Configure docker-compose to use .env file 2025-11-29 00:21:51 -05:00
.formatter.exs Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
.gitignore Add sample .env file for environment configuration 2025-11-28 22:14:45 -05:00
.tool-versions Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
AGENTS.md Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
docker-compose.yml Configure docker-compose to use .env file 2025-11-29 00:21:51 -05:00
DOCKER_README.md Configure docker-compose to use .env file 2025-11-29 00:21:51 -05:00
Dockerfile Fix entrypoint.sh permissions in Docker container 2025-11-28 22:27:17 -05:00
entrypoint.sh Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
mix.exs Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
mix.lock Initial commit: RateMyClient™ Phoenix application 2025-11-28 21:30:50 -05:00
README.md Document FORGEJO_TOKEN setup for CI/CD 2025-12-01 08:10:44 -05:00

MyFirstElixirVibeCode

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Docker Deployment

See DOCKER_README.md for instructions on running the application with Docker Compose.

CI/CD Setup

This project uses Forgejo Actions for continuous integration and deployment. The workflow automatically builds and pushes Docker images to the Forgejo container registry on every push to the main branch.

Setting up the FORGEJO_TOKEN Secret

To enable the CI/CD pipeline to push Docker images to the container registry, you need to create a personal access token and add it as a repository secret:

  1. Create a Personal Access Token:

    • Go to your Forgejo instance and log in
    • Click your profile icon → Settings
    • Click Applications in the left sidebar
    • Scroll to Generate New Token
    • Give it a name (e.g., "GitHub Actions" or "CI/CD")
    • Check the following permissions:
      • write:package (required to push to container registry)
      • read:package (required to pull from container registry)
    • Click Generate Token
    • Copy the token (you won't be able to see it again!)
  2. Add the Token as a Repository Secret:

    • Go to your repository in Forgejo
    • Click SettingsSecrets
    • Click Add secret
    • Set Name: FORGEJO_TOKEN
    • Set Value: Paste the token you copied
    • Click Add secret

Once configured, the workflow will automatically build and push Docker images on every push to main.

Learn more