Skip to content

added document with endpoint documentation extracted from the files #4

added document with endpoint documentation extracted from the files

added document with endpoint documentation extracted from the files #4

Workflow file for this run

name: Build and publish image
on:
push:
tags:
- '*'
jobs:
build:
name: Build docker image and push to registry
runs-on: ubuntu-24.04
env:
IMAGE_NAME: ${{ secrets.DOCKER_REGISTRY }}/vr2gather-orchestrator-v2
steps:
- uses: actions/checkout@v2
- name: Extract tag name
run: echo "TAG_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Get current revision SHA
run: git rev-parse HEAD > REVISION
- name: Login to registry
run: docker login -u ${{ secrets.DOCKER_USER }} -p "${{ secrets.DOCKER_PASS }}" ${{ secrets.DOCKER_REGISTRY }}
- name: Build Docker image
run: docker build . --file Dockerfile --tag $IMAGE_NAME:$TAG_NAME
- name: Run linter
run: docker run $IMAGE_NAME:$TAG_NAME yarn lint
- name: Publish Docker image
run: docker push $IMAGE_NAME:$TAG_NAME