Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Add Docker image release pipeline for cuabot (#1006)
Francesco Bonacci29c2705aa4e2
diff --git a/.github/workflows/release-bump-version.yml b/.github/workflows/release-bump-version.ymlindex dad9ca82f2..e48b42e5b3 100644--- a/.github/workflows/release-bump-version.yml+++ b/.github/workflows/release-bump-version.yml@@ -103,6 +103,7 @@ jobs:"docker/cuabot")echo "directory=libs/cuabot" >> $GITHUB_OUTPUTecho "type=docker" >> $GITHUB_OUTPUT+ echo "bumpversion_config=.bumpversion.docker.cfg" >> $GITHUB_OUTPUT;;"docker/kasm")echo "directory=libs/kasm" >> $GITHUB_OUTPUT@@ -158,9 +159,10 @@ jobs:# Function to clean a tag for a given package directoryclean_tag() {local dir=$1+ local config_file=${2:-.bumpversion.cfg}cd "$dir"- NEW_VERSION=$(bump2version --dry-run --list ${{ inputs.bump_type }} 2>/dev/null | grep -m1 '^new_version=' | sed 's/new_version=//')- TAG_NAME=$(grep -m1 '^tag_name' .bumpversion.cfg | sed 's/tag_name *= *//' | sed "s|{new_version}|$NEW_VERSION|")+ NEW_VERSION=$(bump2version --config-file "$config_file" --dry-run --list ${{ inputs.bump_type }} 2>/dev/null | grep -m1 '^new_version=' | sed 's/new_version=//')+ TAG_NAME=$(grep -m1 '^tag_name' "$config_file" | sed 's/tag_name *= *//' | sed "s|{new_version}|$NEW_VERSION|")echo "Checking for existing tag: $TAG_NAME"git tag -d "$TAG_NAME" 2>/dev/null || truegit push origin ":refs/tags/$TAG_NAME" 2>/dev/null || true@@ -168,7 +170,8 @@ jobs:}# Clean tag for the primary package- clean_tag "${{ steps.package.outputs.directory }}"+ BUMPVERSION_CONFIG="${{ steps.package.outputs.bumpversion_config }}"+ clean_tag "${{ steps.package.outputs.directory }}" "${BUMPVERSION_CONFIG:-.bumpversion.cfg}"# Clean cascade tags when bumping pypi/core (also bumps computer and agent)if [ "${{ inputs.service }}" == "pypi/core" ]; then@@ -199,7 +202,11 @@ jobs:- name: Run bump2versionrun: |cd ${{ steps.package.outputs.directory }}- bump2version ${{ inputs.bump_type }}+ CONFIG_FLAG=""+ if [ -n "${{ steps.package.outputs.bumpversion_config }}" ]; then+ CONFIG_FLAG="--config-file ${{ steps.package.outputs.bumpversion_config }}"+ fi+ bump2version $CONFIG_FLAG ${{ inputs.bump_type }}- name: Also bump cua-computer (when bumping cua-core)if: ${{ inputs.service == 'pypi/core' }}diff --git a/libs/cuabot/.bumpversion.docker.cfg b/libs/cuabot/.bumpversion.docker.cfgnew file mode 100644index 0000000000..b63d929ecd--- /dev/null+++ b/libs/cuabot/.bumpversion.docker.cfg@@ -0,0 +1,8 @@+[bumpversion]+current_version = 1.0.3+commit = True+tag = True+tag_name = docker-cuabot-v{new_version}+message = chore: bump cuabot container to {new_version}++[bumpversion:file:VERSION]diff --git a/libs/cuabot/VERSION b/libs/cuabot/VERSIONnew file mode 100644index 0000000000..21e8796a09--- /dev/null+++ b/libs/cuabot/VERSION@@ -0,0 +1 @@+1.0.3