From 69c9ab85d4cb0b8781bca4485cc44d1d107312e2 Mon Sep 17 00:00:00 2001 From: Gradey Cullins Date: Wed, 11 Oct 2023 13:10:44 -0600 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..1d2dd34 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,20 @@ +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 + run: docker build . --file Dockerfile --tag purity-vision:$(date +%s) + - name: Push the Docker image + run: docker push gradeycullins/purity-vision:latest