diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 57a8331..9fd4765 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -27,6 +27,9 @@ jobs: packages: write # steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -69,6 +72,28 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max + ## FRONTEND CONTAINER + - name: frontend Docker meta + id: frontend_meta + uses: docker/metadata-action@v5 + with: + images: | + ${{ env.REGISTRY }}/zsteinkamp/${{ env.IMAGE_BASE }}-frontend + tags: | + type=ref,event=branch + type=sha + - name: frontend Build and push Docker image + uses: docker/build-push-action@v5 + with: + context: frontend/ + target: frontend + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.frontend_meta.outputs.tags }} + labels: ${{ steps.frontend_meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max + ## API CONTAINER - name: api Docker meta id: api_meta