-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd75d43
commit 39777bb
Showing
26 changed files
with
1,300 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and Publish Docker Image | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # Change this to your default branch if different | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build Docker image | ||
run: | | ||
docker build -t ghcr.io/${{ github.repository }}/my-image:latest . | ||
# Replace 'my-image' with your desired image name | ||
- name: Push Docker image | ||
run: | | ||
docker push ghcr.io/${{ github.repository }}/my-image:latest | ||
# Replace 'my-image' with your desired image name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""Create uuid-ossp extension | ||
Revision ID: 001_create_uuid_ossp | ||
Revises: | ||
Create Date: 2024-07-30 15:00:00.000000 | ||
""" | ||
|
||
import sqlalchemy as sa | ||
|
||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "001_create_uuid_ossp" | ||
down_revision = None | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.execute('CREATE EXTENSION IF NOT EXISTS "uuid-ossp"') | ||
|
||
|
||
def downgrade(): | ||
op.execute('DROP EXTENSION IF EXISTS "uuid-ossp"') |
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
alembic/versions/6674e2e67df2_align_models_with_gql_schema.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.