Create a Docker Image for Web (#4533)

This commit is contained in:
Tom Rogers
2025-02-05 15:37:58 +01:00
committed by GitHub
parent e34749f666
commit ae6a25fe6d
7 changed files with 53 additions and 24 deletions

View File

@ -34,6 +34,16 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push web
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/omnivore-app/sh-web:latest,ghcr.io/omnivore-app/sh-web:${{ github.sha }}
file: packages/web/Dockerfile-self
cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-web:${{ github.sha }}
cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-web:${{ github.sha }},mode=max
- name: Build and push image-proxy
uses: docker/build-push-action@v6
with: