Update build.yml

This commit is contained in:
Jon Eugster
2023-04-28 16:07:52 +02:00
committed by GitHub
parent b2c7fef12d
commit d165e3d4cc

View File

@@ -3,8 +3,6 @@ run-name: Build the game
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
@@ -27,5 +25,5 @@ jobs:
- name: build game
run: env LEAN_ABORT_ON_PANIC=1 lake build
- name: Build the Docker image
run: docker build . --file Dockerfile --tag nng:$(date +%s)
- name: build docker image
run: docker build . --file Dockerfile --tag nng:latest