mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
c4479e257e
* Initial plan * chore: upgrade Node.js base image from 22.21.0 to 24.14.1 (LTS) * chore: include node version in node_modules cache keys * Add canary build for docker changes * fix: Try docker driver --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
44 lines
896 B
YAML
44 lines
896 B
YAML
name: Docker Build Check
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "Dockerfile"
|
|
- "Dockerfile.base"
|
|
pull_request:
|
|
paths:
|
|
- "Dockerfile"
|
|
- "Dockerfile.base"
|
|
|
|
env:
|
|
BASE_IMAGE_NAME: outline-base
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubicloud-standard-8
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
driver: docker
|
|
|
|
- name: Build base image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: Dockerfile.base
|
|
tags: ${{ env.BASE_IMAGE_NAME }}:latest
|
|
push: false
|
|
|
|
- name: Build main image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: Dockerfile
|
|
push: false
|
|
build-args: |
|
|
BASE_IMAGE=${{ env.BASE_IMAGE_NAME }}:latest
|