Create CI to build container
This commit is contained in:
13
.github/workflows/build-image.yml
vendored
Normal file
13
.github/workflows/build-image.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name: Build Image
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build the Docker image
|
||||||
|
run: docker build . --tag papermc:$(date +%s)
|
||||||
Reference in New Issue
Block a user