Update README.md #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker image build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
docker_image_builds: | |
strategy: | |
matrix: | |
images: | |
- "httpd" | |
- "smokeping" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Docker | |
run: | | |
curl -sSL https://get.docker.com/ | CHANNEL=stable sudo sh | |
sudo service docker start | |
- name: Build Docker Images | |
run: | | |
docker compose build ${image} | |
env: | |
image: ${{ matrix.images }} |