From d324e31bf7b336ae0e6e107f676ab533383b0c0d Mon Sep 17 00:00:00 2001 From: Jonathan Algar Date: Sun, 31 Dec 2023 02:47:04 +0000 Subject: [PATCH] add ci --- .github/workflows/build-docker.yml | 28 ++++++++++++++++++++++++++++ README.md | 4 +++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-docker.yml diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml new file mode 100644 index 0000000..d083139 --- /dev/null +++ b/.github/workflows/build-docker.yml @@ -0,0 +1,28 @@ +name: ci + +on: + push: + branches: main + tags: + - 'v*' + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Check Out Repo + uses: actions/checkout@v4.1.1 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and Push Docker image + uses: docker/build-push-action@v5.1.0 + with: + context: . + push: true + tags: ghcr.io/outsystems/os_tk_llm_service:${{ github.ref_name }} \ No newline at end of file diff --git a/README.md b/README.md index 8e03478..311fd2f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # alttexter +![ci](https://github.com/jonathanalgar/alttexter/actions/workflows/build-docker.yml/badge.svg) + ![License: GPLv3](https://img.shields.io/badge/license-GPLv3-blue) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) ## Overview @@ -57,4 +59,4 @@ I was surprised how many prominent open-source projects have poor alt-text cover - [ ] Rate limiting at the service level. - [ ] Option to use [Azure OpenAI Services](https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/gpt-4-turbo-with-vision-is-now-available-on-azure-openai-service/ba-p/4008456). - [ ] Explore extending to multimodal models beyond OpenAI. -- ... \ No newline at end of file +- [ ] Extend this TODO list \ No newline at end of file