Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ducmeit1/kafka-client
Browse files Browse the repository at this point in the history
  • Loading branch information
ducmeit1 committed Apr 20, 2020
2 parents 26ff621 + 1676bd8 commit 16be941
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/dockerimage-producer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker Image CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Login Docker Hub
run: echo ${{ DOCKER_PASSWORD}} | docker login -u ${{ DOCKER_USERNAME }} --password-stdin
- name: Build Docker Image
run: docker build . --file Dockerfile --tag ducmeit1/kafka-client:latest --build-arg BIN=cmd/producer
- name: Push Docker Image
run: docker push ducmeit1/kafka-client:latest

0 comments on commit 16be941

Please sign in to comment.