diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 6e51f1ee2..8e39202c7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -12,9 +12,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Build the docker image + - name: Build docker image run: docker build -t reo7sp/tgbot-cpp -f Dockerfile . - - name: Build the docker image with unit tests + - name: Build docker image with examples and unit tests run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test . - name: Run unit tests run: docker run --rm reo7sp/tgbot-cpp-test diff --git a/Dockerfile b/Dockerfile index e9725c6c0..1cbf811bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM debian:stretch -MAINTAINER Oleg Morozenkov +MAINTAINER Oleg Morozenkov RUN apt-get -qq update && \ apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev libcurl4-openssl-dev zlib1g-dev diff --git a/Dockerfile_test b/Dockerfile_test index b71fbd7cb..b9a7e06b4 100644 --- a/Dockerfile_test +++ b/Dockerfile_test @@ -1,5 +1,5 @@ FROM ubuntu:18.04 -MAINTAINER Oleg Morozenkov +MAINTAINER Oleg Morozenkov RUN apt-get -qq update && \ apt-get -qq install -y \