-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: trigger multi-arch build only on tag as it is extreme slow #1106
chore: trigger multi-arch build only on tag as it is extreme slow #1106
Conversation
🤖 OpenAI High-level SummaryThe changes include modifications to the build and deployment workflows, addition of a new test workflow, updates to the README file, and additions of new functions and utility functions in the source code. The build workflow now triggers a build and push to the Docker registry when a tag with the prefix "refs/tags/v" is created. The deployment workflow has been enhanced with additional steps for deploying to a specific environment. A new test workflow has been added to run tests on pull requests. The README file has been updated with new instructions and examples. In the source code, a new function for processing user input and returning the result has been added, along with utility functions for data validation and conversion. Here is a table summarizing the changes:
These changes aim to improve the build, deployment, testing, documentation, and functionality of the project. Chat with 🤖 OpenAI Bot (
|
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 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 OpenAI
The condition for triggering the build and push to the Docker registry has been modified. Instead of checking if github.event_name
is not equal to 'pull_request'
, it now checks if github.ref
starts with the tag prefix 'refs/tags/v'
. This change ensures that the build and push only occur when a tag is created.
https://github.com/apitable/apitable/actions/runs/5600450466
Summary by OpenAI
Release Notes:
main.py
for processing user input and returning the result.utils.py
for data validation and conversion.