Skip to content

feat: added input field for page selection in result table #160

feat: added input field for page selection in result table

feat: added input field for page selection in result table #160

Workflow file for this run

name: Create Docker Container
on:
push:
branches:
- 'main'
- 'dev'
tags:
- 'v*'
jobs:
build-and-push-images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- dockerfile: ./Dockerfile-dbtool
image: ipbhalle/massbank3-dbtool
context: .
- dockerfile: ./Dockerfile-server
image: ipbhalle/massbank3-server
context: .
- dockerfile: ./Dockerfile-frontend
image: ipbhalle/massbank3-frontend
context: .
- dockerfile: ./Dockerfile-postgres-bingo
image: ipbhalle/postgres
context: .
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ matrix.image }}
tags: |
# tag event
type=ref,event=tag
# set latest tag for main branch and tags
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
# set dev tag for dev branch
# set dev tag for dev branch, but exclude ipbhalle/postgres
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' && matrix.image != 'ipbhalle/postgres' }}
# set specific tag for postgres image
type=raw,value=15-bingo-1.24.0,enable=${{ matrix.image == 'ipbhalle/postgres' }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ${{ matrix.context }}
push: ${{ github.event_name != 'pull_request' }}
file: ${{ matrix.dockerfile }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}