Skip to content

Nuxt3にする

Nuxt3にする #315

Workflow file for this run

name: Build Containers
on: [pull_request]
env:
SPARQL_ENDPOINT_URL: https://prismdb.takanakahiko.me/sparql
DBA_PASSWORD: hogehuga
jobs:
delivery:
runs-on: ubuntu-latest
strategy:
matrix:
SERVICE_NAME: [web, virtuoso]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: prepara rdfs
working-directory: csv2rdf
run: |
npm ci
BASE_URL=https://prismdb.takanakahiko.me npm start
- name: Configure docker to use the gcloud cli
run: gcloud auth configure-docker --quiet
- if: matrix.SERVICE_NAME == 'web'
run: echo "BUILD_ARGS=--build-arg SPARQL_ENDPOINT_URL=${{ env.SPARQL_ENDPOINT_URL }}" >> $GITHUB_ENV
- if: matrix.SERVICE_NAME == 'virtuoso'
run: echo "BUILD_ARGS=--build-arg DBA_PASSWORD=${{ env.DBA_PASSWORD }}" >> $GITHUB_ENV
- name: Build a docker image
run: docker build ${{ matrix.SERVICE_NAME }} $BUILD_ARGS