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
appreciatedd17d8679b629
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.ymlindex e3259eb4..e89df5b3 100644--- a/.github/workflows/docker-publish.yml+++ b/.github/workflows/docker-publish.yml@@ -7,7 +7,7 @@ on:jobs:build_and_push:runs-on: ubuntu-latest-+steps:- name: Check out the repouses: actions/checkout@v2@@ -30,17 +30,18 @@ jobs:id: check_tagrun: |if [[ ! "${GITHUB_REF_NAME}" =~ ^server ]]; then- echo "The tag does not start with 'server'."- echo "skip" >> $GITHUB_ENV+ echo "::set-output name=skip::true"+ else+ echo "::set-output name=skip::false"fishell: bash- name: Skip build if tag does not start with 'server'- if: env.skip == 'skip'+ if: steps.check_tag.outputs.skip == 'true'run: echo "Skipping build because the tag does not start with 'server'."- name: Build and push- if: env.skip != 'skip'+ if: steps.check_tag.outputs.skip == 'false'uses: docker/build-push-action@v2with:context: ./app/