mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 11:16:55 +00:00
add GitHub Action
Docker Image CI via GitHub Actions
This commit is contained in:
parent
bbf973390f
commit
f49f923a2b
23
.github/workflows/dockerimage.yml
vendored
Normal file
23
.github/workflows/dockerimage.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user