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 8321 from action_run_job
id
8321
run_id
7004
repo_id
6
owner_id
5
commit_sha
01a8ea9191c28b210d2abb3db3cbc65db42fc801
is_fork_pull_request
0
name
构建并推送镜像
attempt
1
workflow_payload
name: Deploy "on": push: branc
name: Deploy "on": push: branches: [main] tags: ['v*'] workflow_dispatch: inputs: environment: description: '部署环境' required: true default: 'staging' type: choice options: - staging - production - rollback skip_tests: description: '跳过测试(紧急修复时使用)' required: false default: false type: boolean env: IMAGE_PREFIX: ${{ github.repository_owner }}/juhi NODE_VERSION: "20" PNPM_VERSION: "8" REGISTRY: ghcr.io jobs: build-and-push: name: 构建并推送镜像 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} else VERSION=${{ github.sha }} 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: 登录容器仓库 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=ref,event=branch type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} 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=ref,event=branch type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} 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 }} timeout-minutes: "20" 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-and-push
needs
["quality-check"]
runs_on
["ubuntu-latest"]
task_id
7171
status
4
started
1773914186
stopped
1773914186
created
1773913345
updated
1773914186
raw_concurrency
is_concurrency_evaluated
1
concurrency_group
concurrency_cancel
0
Delete
Cancel