Skip to content

Bump version to 0.1.0-beta.10 in pyproject.toml #91

Bump version to 0.1.0-beta.10 in pyproject.toml

Bump version to 0.1.0-beta.10 in pyproject.toml #91

name: API Docker Image
on:
push:
branches: ["main"]
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
run: |
docker build ./api --tag ghcr.io/upayanmazumder/cas-api:latest --build-arg NODE_ENV=production
docker push ghcr.io/upayanmazumder/cas-api:latest