0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/.github/workflows/docker-image.yml
Tim Glaser b3df75bde5
Add docker image test (#1515)
* Add docker image test

* Fix test?

* Fix test? bis

* Document build fix

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-09-01 16:02:53 +02:00

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