mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-10 21:56:53 +00:00
24 lines
424 B
YAML
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
|