Bump get-func-name from 2.0.0 to 2.0.2 in /frontend #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow builds the docker images and pushes them to GHCR. | |
name: Build | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "assets/**" | |
- ".github/**" | |
- "README.md" | |
- "CODE_OF_CONDUCT.md" | |
- "CONTRIBUTING.md" | |
- "LICENSE" | |
- "SECURITY.md" | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- microservice: ./database | |
image: ghcr.io/hyperclaw79/stocksalot-db-server | |
- microservice: ./ingestion | |
image: ghcr.io/hyperclaw79/stocksalot-ingestion | |
- microservice: ./frontend | |
image: ghcr.io/hyperclaw79/stocksalot-frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to GHCR | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Docker Images | |
uses: docker/build-push-action@v4 | |
with: | |
context: ${{ matrix.microservice }} | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: | | |
${{ matrix.image }} | |
${{ matrix.image }}:latest |