Update build.yml
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user