Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop branch with main #1

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/workflows/ci.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and push Docker image to GitHub Packages

# Trigger the workflow on release creation for the main branch:
on:
release:
types: [released]

jobs:
docker_image_build_and_push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
# Checkout the repository:
- name: Checkout code
uses: actions/checkout@v4

# Log in to GitHub Docker Registry (GitHub Packages):
- name: Log in to GitHub Docker Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

# Build the Docker image:
- name: Build Docker image
run: docker build -t ghcr.io/${{ github.repository }}:latest --build-arg optional_dependencies=test,kafka,sqlite,mysql,postgresql,oracle,mssql,excel,tabular,spss,kuzu,neo4j .

# Push the Docker image to GitHub Packages:
- name: Push Docker image to GitHub Packages
run: docker push ghcr.io/${{ github.repository }}:latest

# Tag the Docker image with the release version:
- name: Tag the Docker image with the release version
run: docker tag ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}

# Push the Docker image with the release version to GitHub Packages:
- name: Push the Docker image with the release version to GitHub Packages
run: docker push ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
24 changes: 24 additions & 0 deletions .github/workflows/gitlab-synchronization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Synchronization with GitLab Repository

on:
- push
- delete

jobs:
gitlab-synchronization:
runs-on: ubuntu-latest
name: Synchronization with GitLab Repository
steps:
# Checkout repository:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

# Synchronize GitHub repository with GitLab repository (GitHub is upstream repository)
- name: Synchronize GitHub repository with GitLab repository (GitHub is upstream repository)
uses: wangchucheng/git-repo-sync@v0.1.0
with:
target-url: ${{ secrets.TARGET_URL }}
target-username: ${{ secrets.TARGET_USERNAME }}
target-token: ${{ secrets.TARGET_TOKEN }}
31 changes: 0 additions & 31 deletions .github/workflows/pypi-publish.yml

This file was deleted.