Consolidate dockerfiles

This commit is contained in:
Jon Staab
2026-06-02 09:34:35 -07:00
parent bd5f4b1cd0
commit 1d5c825e15
5 changed files with 78 additions and 66 deletions
+3 -12
View File
@@ -6,6 +6,7 @@ on:
env:
REGISTRY: gitea.coracle.social
IMAGE: coracle/caravel
jobs:
build-and-push-image:
@@ -14,16 +15,6 @@ jobs:
contents: read
packages: write
strategy:
matrix:
include:
- component: frontend
image: coracle/caravel-frontend
context: frontend
- component: backend
image: coracle/caravel-backend
context: backend
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -39,7 +30,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ matrix.image }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE }}
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
@@ -52,7 +43,7 @@ jobs:
id: push
uses: docker/build-push-action@v5
with:
context: ${{ matrix.context }}
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}