From d1cc694196f20adfeb44649df7a379ad38c496ee Mon Sep 17 00:00:00 2001 From: HadManySons Date: Sun, 10 Mar 2024 00:54:53 +0100 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..5efefe8 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,19 @@ +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + working-directory: ./AFSCbot + run: docker build . --file Dockerfile --tag afscbot:$(date +%s)