mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 09:16:49 +01:00
b3df75bde5
* Add docker image test * Fix test? * Fix test? bis * Document build fix Co-authored-by: Michael Matloka <dev@twixes.com>
22 lines
549 B
YAML
22 lines
549 B
YAML
name: Docker
|
|
|
|
on:
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: Test building of Docker image
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build and push Docker images
|
|
uses: docker/build-push-action@v1
|
|
with:
|
|
cache_froms: posthog/posthog:latest
|
|
dockerfile: production.Dockerfile
|
|
repository: posthog/posthog
|
|
push: false
|
|
tags: latest
|