From 68fe203d126d809174b9c23134d525b26bc5c4f9 Mon Sep 17 00:00:00 2001 From: Takuya N <10229505+tnir@users.noreply.github.com> Date: Wed, 13 May 2020 10:47:40 +0900 Subject: [PATCH] Add docker build on Actions Actions workflow template "dockerimage" --- .github/workflows/dockerimage.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/dockerimage.yml diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml new file mode 100644 index 0000000..e57d42a --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)