Skip to content

fix: use nitro plugin to migrate #16

fix: use nitro plugin to migrate

fix: use nitro plugin to migrate #16

Workflow file for this run

name: Docker Build
on:
push:
branches:
- next # replace with main when ready
paths:
- 'app/**'
- 'server/**'
- 'shared/**'
- 'public/**'
- 'package.json'
- 'pnpm-lock.yaml'
- 'nuxt.config.ts'
workflow_dispatch:
env:
REGISTRY: ${{ secrets.DOCKER_REGISTRY_URL }}
REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USERNAME }}
password: ${{ env.REGISTRY_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}