Skip to content

docs: no dot in desc #8

docs: no dot in desc

docs: no dot in desc #8

Workflow file for this run

name: Release
on:
push:
branches:
- main
# TODO: make sure database sql is valid before releasing
jobs:
release:
strategy:
fail-fast: false
matrix:
target:
- database
- graphql
- server
name: Release ${{ matrix.target }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get short commit SHA
id: shortsha
run: echo "shortsha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/bake-action@v4
with:
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
server.args.VITE_APP_VER=${{ steps.shortsha.outputs.shortsha }}
targets: ${{ matrix.target }}
push: true