From a994fc46ed8d9d02af90fcf10fe6a01d1ae21682 Mon Sep 17 00:00:00 2001 From: MichaelAgarkov Date: Tue, 31 Dec 2024 03:33:09 +0300 Subject: [PATCH] Make GitHub Action for building the Dockerfile --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e130e37 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: main + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag w64devkit:$(date +%s) +