Skip to content

Commit

Permalink
🚀 RELEASE (dev): First working release, version bumped to 1.0.0. 🎉.
Browse files Browse the repository at this point in the history
📦 NEW: Add Docker build workflow with multi-arch support.

🚀 RELEASE: First working release, version bumped to `1.0.0`.  🎉.

Update docker-buildx.yml

Update docker-buildx.yml

Update docker-buildx.yml

Update docker-buildx.yml

Update docker-buildx.yml

Update docker-buildx.yml
  • Loading branch information
bearlike committed May 11, 2024
1 parent c719bf6 commit 819c7a4
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# * Meeseeks Settings
# - VERSION: Version of your application (There is no need to change these value)
# - ENVMODE: Environment mode of your application (valid options: dev, prod)
VERSION=0.1.0
VERSION=1.0.0
ENVMODE=dev
LOG_LEVEL=DEBUG
CACHE_DIR='/path/to/cache/directory'
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/docker-buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
workflow_dispatch:
push:
branches:
- 'release/*'
- "release/*"

jobs:
build:
Expand All @@ -42,27 +42,31 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
shell: bash
run: |
BRANCH_NAME=$(echo ${{ github.ref }} | sed 's/refs\/heads\///')
echo "branch=$BRANCH_NAME" >> $GITHUB_ENV
echo "Extracted branch name: $BRANCH_NAME"
- name: Set version and channel
id: version_channel
run: |
BRANCH_NAME=${{ steps.extract_branch.outputs.branch }}
BRANCH_NAME=${{ env.branch }}
VERSION=$(echo $BRANCH_NAME | cut -d'/' -f 2 | cut -d'-' -f 1)
CHANNEL=$(echo $BRANCH_NAME | cut -d'/' -f 2 | cut -d'-' -f 2)
echo "VERSION=$VERSION"
echo "CHANNEL=$CHANNEL"
echo "::set-output name=version::$VERSION"
echo "::set-output name=channel::$CHANNEL"
echo "version=$VERSION" >> $GITHUB_ENV
echo "channel=$CHANNEL" >> $GITHUB_ENV
echo "Extracted version: $VERSION"
echo "Extracted channel: $CHANNEL"
echo "Extracted branch name: $BRANCH_NAME"
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
ghcr.io/bearlike/meeseeks-chat:${{ steps.version_channel.outputs.version }}${{ steps.version_channel.outputs.channel == 'dev' && '-dev' || '' }}
ghcr.io/bearlike/meeseeks-chat:${{ steps.version_channel.outputs.channel == 'latest' && 'latest' || steps.version_channel.outputs.channel == 'stable' && 'stable' || '' }}
ghcr.io/bearlike/meeseeks-chat:${{ env.version }}${{ env.channel == 'dev' && '-dev' || '' }}
ghcr.io/bearlike/meeseeks-chat:${{ env.channel == 'latest' && 'latest' || env.channel == 'stable' && 'stable' || 'dev' }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM python:3.11-buster

# Set the title, GitHub repo URL, version, and author
ARG TITLE="Meeseeks Chat: Personal Assistant" \
VERSION="0.1.0" \
VERSION="1.0.0" \
GITHUB_REPO_URL="https://github.com/bearlike/Personal-Assistant" \
AUTHOR="Krishnakanth Alagiri"

Expand Down
2 changes: 1 addition & 1 deletion build-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function build_and_install() {
mv dist/*.whl ../

# Install the package
if ! pip install ../$1-0.1.0-py3-none-any.whl; then
if ! pip install ../$1-1.0.0-py3-none-any.whl; then
echo "Error: Failed to install the $1 package"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion meeseeks-api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "meeseeks-api"
version = "0.1.0"
version = "1.0.0"
description = "REST API Engine wrapped around the meeseeks-core"
authors = ["Krishnakanth Alagiri <https://github.com/bearlike>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion meeseeks-chat/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "meeseeks-chat"
version = "0.1.0"
version = "1.0.0"
description = "Chat Interface wrapped around the meeseeks-core. Powered by Streamlit."
authors = ["Krishnakanth Alagiri <https://github.com/bearlike>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "meeseeks"
version = "0.1.0"
version = "1.0.0"
description = "Core module for Meeseeks - A powerful multi-LLM-agent assistant for complex tasks with support for tools integration."
authors = ["Krishnakanth Alagiri <https://github.com/bearlike>"]
license = "MIT"
Expand Down

0 comments on commit 819c7a4

Please sign in to comment.