Skip to content

Cache Beebop databases in CI #24

Cache Beebop databases in CI

Cache Beebop databases in CI #24

Workflow file for this run

name: build and push docker images
on:
push:
branches:
- main
pull_request:
branches:
- "*"
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GHCR (GitHub Packages)
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Server image
run: app/server/docker/build
- name: Build Proxy image
run: proxy/docker/build
- name: Docker smoke test
run: scripts/docker_smoke_test
- name: Push Server image branch ${{ env.BRANCH_NAME }}
run: app/server/docker/push
- name: Push Proxy image branch ${{ env.BRANCH_NAME }}
run: proxy/docker/push