Skip to content

fix: use internal comunication to email #18

fix: use internal comunication to email

fix: use internal comunication to email #18

Workflow file for this run

name: Build and Push Docker Images
on:
push:
branches: [ main, leafd/launch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}/owl-api
ghcr.io/${{ github.repository }}/lark-ui
tags: |
type=ref,event=branch
type=sha,prefix={{branch}}-
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push owl-api
uses: docker/build-push-action@v5
with:
context: .
file: ./owl-api/Dockerfile
tags: ghcr.io/${{ github.repository }}/owl-api:latest,ghcr.io/${{ github.repository }}/owl-api:${{ github.sha }}
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and push lark-ui
uses: docker/build-push-action@v5
with:
context: .
file: ./lark-ui/Dockerfile
tags: ghcr.io/${{ github.repository }}/lark-ui:latest,ghcr.io/${{ github.repository }}/lark-ui:${{ github.sha }}
push: true
cache-from: type=gha
cache-to: type=gha,mode=max