1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-09-21 08:48:05 +00:00
docker-squid/.github/workflows/dockerimage.yml
Dmitry Belyaev f49f923a2b add GitHub Action
Docker Image CI via GitHub Actions
2019-09-04 10:50:20 +03:00

24 lines
424 B
YAML

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