Update go version to 1.21 #500
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: | |
pull_request: | |
paths: | |
- "Dockerfile" | |
- "docker-compose.yml" | |
jobs: | |
build: | |
name: Build Docker | |
runs-on: self-hosted | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build HORNET Docker image | |
run: docker build . --file Dockerfile --tag hornet:latest | |
- name: Test HORNET Docker image | |
run: docker run --rm --name hornet hornet:latest --version 2>/dev/null | grep -q "HORNET" |