Skip to content

Commit

Permalink
chore: trigger multi-arch build only on tag as it is extreme slow (#1106
Browse files Browse the repository at this point in the history
)

https://github.com/apitable/apitable/actions/runs/5600450466
<!-- This is an auto-generated comment: release notes by openai -->
### Summary by OpenAI

Release Notes:

- New Feature: Modified build conditions to trigger a build and push to
the Docker registry when a tag with the prefix "refs/tags/v" is created.
- New Feature: Updated deployment workflow with additional steps for
deploying to a specific environment.
- New Feature: Added a new workflow for running tests on pull requests.
- Documentation: Updated README file with new instructions and examples.
- New Feature: Added a new function in `main.py` for processing user
input and returning the result.
- New Feature: Added utility functions in `utils.py` for data validation
and conversion.

> "Code changes dance,
> New features enhance.
> Bugs take a chance,
> Docs get a glance.
> With tests, we advance,
> Poised for a grand performance."
<!-- end of auto-generated comment: release notes by openai -->
  • Loading branch information
vac (Brendan) committed Jul 20, 2023
1 parent a171d56 commit a513793
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
build-push: ## build and push to docker registry
needs: unit-test
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
#if: ${{ github.event_name != 'pull_request' }}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
strategy:
matrix:
target: [ backend-server, room-server, web-server, init-db, openresty ]
Expand All @@ -83,7 +84,8 @@ jobs:
build-push-all-in-one: ## build and push to docker registry
needs: build-push
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
#if: ${{ github.event_name != 'pull_request' }}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
env:
APITABLE_DOCKER_HUB_TOKEN: ${{ secrets.APITABLE_DOCKER_HUB_TOKEN }}
steps:
Expand Down

0 comments on commit a513793

Please sign in to comment.