Skip to content

Add evaluation server and Railway deployment #1

Add evaluation server and Railway deployment

Add evaluation server and Railway deployment #1

name: Build Base Image
on:
workflow_dispatch: # Manual trigger
push:
paths:
- 'Dockerfile.base'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/rl-eval-base
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.base
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest