From 8f6f5f7bd893b20d816bd8bdb13328f9c5c0ade9 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 28 Jan 2024 23:27:24 +0100 Subject: [PATCH] Create docker-image.yml --- .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..77482bb --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,16 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + 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 cloudflare-ddns:$(github.sha)