Skip to content

Updaet config for Railway Private Networking security. #6

Updaet config for Railway Private Networking security.

Updaet config for Railway Private Networking security. #6

Workflow file for this run

name: Docker Image CI for GHCR
on:
push:
branches:
- main
jobs:
build_and_publish:
runs-on: ubuntu-latest # Specifies the operating system environment
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build and push the image
run: |
echo ${{ secrets.GH_PAT }} | docker login --username yuting1214 --password-stdin ghcr.io
docker build . -t ghcr.io/yuting1214/fastapi-chat-ghcr:latest
docker push ghcr.io/yuting1214/fastapi-chat-ghcr:latest