Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
reo7sp committed Dec 4, 2021
1 parent a505f8e commit 0d32c60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
branches: [ master ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag tgbot-cpp:$(date +%s)
- name: Build the docker image
run: docker build -t reo7sp/tgbot-cpp -f Dockerfile .
- name: Build the docker image with 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
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit 0d32c60

Please sign in to comment.