Skip to content

Update imports

Update imports #8

name: Release to GitHub Container Registry
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GRAPHQLER_GITHUB_TOKEN }}
- name: Publish to GitHub Container Registry
run: |
poetry build
docker build -t ghcr.io/omar2535/graphqler:latest .
docker push ghcr.io/omar2535/graphqler:latest