Skip to content

Add database collection to track semantic domain sense counts per project #6461

Add database collection to track semantic domain sense counts per project

Add database collection to track semantic domain sense counts per project #6461

Workflow file for this run

name: database
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number }}
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
docker_build:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
# See https://docs.stepsecurity.io/harden-runner/getting-started/ for instructions on
# configuring harden-runner and identifying allowed endpoints.
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
auth.docker.io:443
github.com:443
production.cloudflare.docker.com:443
registry-1.docker.io:443
# For subfolders, currently a full checkout is required.
# See: https://github.com/marketplace/actions/build-and-push-docker-images#path-context
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
- name: Build database image
run: |
deploy/scripts/build.py --components database
shell: bash
- name: Image digest
run: |
docker image inspect combine_database:latest -f '{{json .Id}}'
shell: bash