0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
posthog/.github/workflows/docker-image.yml

22 lines
549 B
YAML
Raw Normal View History

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