Skip to content

Update go version to 1.21 #500

Update go version to 1.21

Update go version to 1.21 #500

Workflow file for this run

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"