Skip to content

Fix status report and UI bug #4

Fix status report and UI bug

Fix status report and UI bug #4

name: Build and Push Images
on:
push:
branches:
- main
paths:
- "web/**"
- "registry/**"
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
web:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: web
push: true
tags: ghcr.io/${{ github.repository }}/web:tip
platforms: linux/amd64,linux/arm64
cache-from: type=gha,scope=web
cache-to: type=gha,mode=max,scope=web
registry:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: registry
push: true
tags: ghcr.io/${{ github.repository }}/registry:tip
platforms: linux/amd64,linux/arm64
cache-from: type=gha,scope=registry
cache-to: type=gha,mode=max,scope=registry