sqlite-web 0.7.2
gitea.db
action_run_job
Create
Query
access
access_token
action
action_artifact
action_run
action_run_index
action_run_job
action_runner
action_runner_token
action_schedule
action_schedule_spec
action_task
action_task_output
action_task_step
action_tasks_version
action_variable
app_state
attachment
auth_token
badge
branch
collaboration
comment
commit_status
commit_status_index
commit_status_summary
commit_sync_log
commit_sync_status
dbfs_data
dbfs_meta
deploy_key
email_address
email_hash
external_login_user
follow
gpg_key
gpg_key_import
hook_task
issue
issue_assignees
issue_content_history
issue_dependency
issue_index
issue_label
issue_pin
issue_user
issue_watch
label
language_stat
lfs_lock
lfs_meta_object
login_source
milestone
mirror
notice
notification
oauth2_application
oauth2_authorization_code
oauth2_grant
org_user
package
package_blob
package_blob_upload
package_cleanup_rule
package_file
package_property
package_version
project
project_board
project_issue
protected_branch
protected_tag
public_key
pull_auto_merge
pull_request
push_mirror
reaction
release
renamed_branch
repo_archiver
repo_hidden_file
repo_indexer_status
repo_license
repo_redirect
repo_topic
repo_transfer
repo_unit
repository
review
review_state
secret
session
sqlite_sequence
star
stopwatch
system_setting
task
team
team_invite
team_repo
team_unit
team_user
topic
tracked_time
two_factor
upload
user
user_badge
user_blocking
user_open_id
user_redirect
user_setting
version
watch
webauthn_credential
webhook
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Delete row 9208 from action_run_job
id
9208
run_id
7416
repo_id
6
owner_id
5
commit_sha
67078f9a95f53530156ad27027eafe15a3126e89
is_fork_pull_request
0
name
构建 Docker 镜像
attempt
1
workflow_payload
name: Deploy to Aliyun "on": push:
name: Deploy to Aliyun "on": push: branches: [main] tags: ['v*'] workflow_dispatch: inputs: environment: description: '部署环境' required: true default: 'production' type: choice options: - production skip_tests: description: '跳过测试(紧急修复)' required: false default: false type: boolean version: description: '部署版本号(手动输入)' required: false type: string env: IMAGE_PREFIX: ${{ github.repository_owner }}/juhi NODE_VERSION: "20" PNPM_VERSION: "8" REGISTRY: ghcr.io jobs: build: name: 构建 Docker 镜像 runs-on: ubuntu-latest if: always() && (needs.quality-check.result == 'success' || needs.quality-check.result == 'skipped') steps: - name: 检出代码 uses: actions/checkout@v4 - id: version name: 获取版本号 run: | if [[ "${{ github.ref }}" == refs/tags/* ]]; then VERSION=${GITHUB_REF#refs/tags/v} elif [ "${{ github.event_name }}" == "workflow_dispatch" ] && [ -n "${{ github.event.inputs.version }}" ]; then VERSION=${{ github.event.inputs.version }} else VERSION=$(date +%Y%m%d)-${{ github.run_number }} fi echo "version=$VERSION" >> $GITHUB_OUTPUT echo "short_sha=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT - name: 设置 Docker Buildx uses: docker/setup-buildx-action@v3 - name: 登录 GitHub Container Registry uses: docker/login-action@v3 with: password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - id: meta-api name: 后端镜像元数据 uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-api tags: | type=raw,value=${{ steps.version.outputs.version }} type=raw,value=latest type=sha - name: 构建并推送后端镜像 uses: docker/build-push-action@v5 with: build-args: | NODE_ENV=production cache-from: type=gha cache-to: type=gha,mode=max context: ./backend labels: ${{ steps.meta-api.outputs.labels }} push: "true" tags: ${{ steps.meta-api.outputs.tags }} - id: meta-frontend name: 前端镜像元数据 uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}-frontend tags: | type=raw,value=${{ steps.version.outputs.version }} type=raw,value=latest type=sha - name: 构建并推送前端镜像 uses: docker/build-push-action@v5 with: build-args: | VITE_API_BASE_URL=/v1 cache-from: type=gha cache-to: type=gha,mode=max context: ./frontend labels: ${{ steps.meta-frontend.outputs.labels }} push: "true" tags: ${{ steps.meta-frontend.outputs.tags }} - name: 输出构建信息 run: "echo \"## \U0001F4E6 构建信息\" >> $GITHUB_STEP_SUMMARY\necho \"\" >> $GITHUB_STEP_SUMMARY\necho \"- 版本:`${{ steps.version.outputs.version }}`\" >> $GITHUB_STEP_SUMMARY\necho \"- 提交:`${{ steps.version.outputs.short_sha }}`\" >> $GITHUB_STEP_SUMMARY\necho \"- 后端镜像:`${{ steps.meta-api.outputs.tags }}`\" >> $GITHUB_STEP_SUMMARY\necho \"- 前端镜像:`${{ steps.meta-frontend.outputs.tags }}`\" >> $GITHUB_STEP_SUMMARY\n" timeout-minutes: "30" outputs: api-image: ${{ steps.meta-api.outputs.tags }} frontend-image: ${{ steps.meta-frontend.outputs.tags }} version: ${{ steps.version.outputs.version }} permissions: contents: read packages: write
...
job_id
build
needs
["quality-check"]
runs_on
["ubuntu-latest"]
task_id
7980
status
4
started
1774263610
stopped
1774263610
created
1774262376
updated
1774263611
raw_concurrency
is_concurrency_evaluated
1
concurrency_group
concurrency_cancel
0
Delete
Cancel