From 47ec4dbb8405aef8c09c81f81cde35684c918ade Mon Sep 17 00:00:00 2001 From: Ole Morud <82065181+olemorud@users.noreply.github.com> Date: Mon, 15 Jan 2024 03:14:24 +0100 Subject: [PATCH] Create CI to build container --- .github/workflows/build-image.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/build-image.yml diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml new file mode 100644 index 0000000..cba1b8c --- /dev/null +++ b/.github/workflows/build-image.yml @@ -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)