From f49f923a2bc1eae11ed0060c599a73fecd18e6bc Mon Sep 17 00:00:00 2001 From: Dmitry Belyaev Date: Wed, 4 Sep 2019 09:38:16 +0300 Subject: [PATCH] add GitHub Action Docker Image CI via GitHub Actions --- .github/workflows/dockerimage.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..709ab29 --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -0,0 +1,23 @@ +name: Docker Image CI + +on: + push: + branches: + - master + - v3 + - v4 + pull_request: + branches: + - master + - v3 + - v4 + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag b4tman/squid:$(date +%s) + - name: Test image + run: docker-compose -f docker-compose.test.yml up sut