Merge pull request #1899 from iotaledger/feat/legacy-rest-api #472
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker | |
on: | |
push: | |
paths: | |
- "docker/Dockerfile" | |
- "docker-compose.yml" | |
pull_request: | |
paths: | |
- "docker/Dockerfile" | |
- "docker-compose.yml" | |
jobs: | |
build: | |
name: Build Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Build HORNET Docker image | |
run: docker build . --file docker/Dockerfile --tag hornet:latest | |
- name: Test HORNET Docker image | |
run: docker run --rm --name hornet hornet:latest --version 2>/dev/null | grep -q "HORNET" |