1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-12-22 17:13:13 +00:00

add GitHub Action

Docker Image CI via GitHub Actions
This commit is contained in:
Dmitry Belyaev 2019-09-04 09:38:16 +03:00 committed by Dmitry Belyaev
parent bbf973390f
commit f49f923a2b

23
.github/workflows/dockerimage.yml vendored Normal file
View File

@ -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