From a7b7310156d36dedf84a2de6853fca69d9e72a4e Mon Sep 17 00:00:00 2001 From: Richard Hillebrand <57721238+Mirasaki@users.noreply.github.com> Date: Mon, 6 Mar 2023 22:28:47 +0100 Subject: [PATCH] feat: add docker build workflow --- .github/workflows/docker-image.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..c5079d0 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,16 @@ +name: Docker Image CI + +on: + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag discord-bot-template:$(date +%s)