update jdk #42
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
name: Build RefSearch Images | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
refsearch-backend: | |
name: Build RS backend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to GitHub Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: salab | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
push: true | |
file: ./backend.Dockerfile | |
target: api-runner | |
platforms: linux/amd64,linux/arm64 | |
tags: ghcr.io/salab/refsearch-backend:master | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
refsearch-runner: | |
name: Build RS runner | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to GitHub Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: salab | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
push: true | |
file: ./backend.Dockerfile | |
target: job-runner | |
platforms: linux/amd64,linux/arm64 | |
tags: ghcr.io/salab/refsearch-runner:master | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
refsearch-frontend: | |
name: Build RS frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to GitHub Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: salab | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
push: true | |
file: ./frontend.Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
tags: ghcr.io/salab/refsearch-frontend:master | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |