Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
Update docker-publish.yml
appreciatedc87466d3826d
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.ymlindex 15a4c119..d2a5adba 100644--- a/.github/workflows/docker-publish.yml+++ b/.github/workflows/docker-publish.yml@@ -12,6 +12,9 @@ jobs:- name: Check out the repouses: actions/checkout@v2+ - name: Set up Docker Buildx+ uses: docker/setup-buildx-action@v1+- name: Log in to GitHub Container Registryuses: docker/login-action@v1with:@@ -19,14 +22,21 @@ jobs:username: ${{ github.actor }}password: ${{ secrets.GITHUB_TOKEN }}- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1-- name: Sanitize ref nameid: sanitizerun: echo "SANITIZED_REF_NAME=${GITHUB_REF_NAME//\//-}" >> $GITHUB_ENV+ - name: Check if the release tag starts with 'server'+ id: check_tag+ run: |+ if [[ ! "${GITHUB_REF_NAME}" =~ ^server ]]; then+ echo "The tag does not start with 'server'."+ exit 1+ fi+ shell: bash+- name: Build and push+ if: steps.check_tag.outcome == 'success'uses: docker/build-push-action@v2with:context: ./app/