Skip to content

Update dependencies, enhance API structure, and improve error handling #61

Update dependencies, enhance API structure, and improve error handling

Update dependencies, enhance API structure, and improve error handling #61

name: Docker Publish
on:
push:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- 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
uses: docker/build-push-action@v2
with:
context: ./
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}