Skip to content
Permalink
Browse files

Build: Build docker images on push

Signed-off-by: Till Kottmann <me@deletescape.ch>
  • Loading branch information
deletescape committed Nov 26, 2019
1 parent c51758d commit 699b46377a4785f444058e3100cc6c19c3f991de
Showing with 28 additions and 0 deletions.
  1. +28 −0 .github/workflows/CI.yml
@@ -0,0 +1,28 @@
name: CI
on:
push:
branches:
- master

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v1

- name: Setup docker
uses: docker-practice/actions-setup-docker@0.0.1

- name: Build and push images
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
docker image build -t dogbin/dogbin .
docker push dogbin/dogbin:latest
docker image build -t dogbin/highlighter microservices/highlighter/
docker push dogbin/highlighter:latest

0 comments on commit 699b463

Please sign in to comment.
You can’t perform that action at this time.