[FEATURE] add image for t3kit12, fix failing builds #102
Workflow file for this run
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: Build Docker images | |
# https://github.com/t3kit/t3kit-starter#quick-start-a-new-project-on-t3kit-base | |
on: [push, pull_request] | |
jobs: | |
nproxy: | |
name: nproxy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker build <nproxy> | |
run: docker -D build -t nproxy nproxy/ | |
- name: Run nginx-proxy for t3kit | |
run: docker run -d -p=80:80 --name=nproxy -v=/var/run/docker.sock:/tmp/docker.sock:ro nproxy | |
- name: Run whoami container with env VIRTUAL_HOST=t3kit10.local | |
run: docker run -d -e VIRTUAL_HOST=t3kit.local jwilder/whoami | |
- name: Show nproxy config | |
run: docker exec nproxy cat /etc/nginx/conf.d/default.conf | |
- name: Show nproxy logs | |
run: docker logs nproxy | |
- name: Show running containers | |
run: docker ps | |
- name: Sleep 10s | |
uses: jakejarvis/wait-action@master | |
with: | |
time: '10s' | |
- name: curl t3kit.local | |
run: "curl -vfsSLI -H 'Host: t3kit.local' --url 'localhost/'" | |
mkcert: | |
name: mkcert | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker build <mkcert> | |
run: docker -D build -t mkcert mkcert/ | |
- name: Run mkcert t3kit_first_setup | |
run: docker run --rm mkcert t3kit_first_setup | |
# t3kit10 | |
t3kit10-php74-fpm-nginx-buster: | |
name: t3kit10-php7.4-fpm-nginx-buster | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker build <t3kit10-php7.4-fpm-nginx-buster> | |
run: docker -D build -t t3kit10-php7.4-fpm-nginx-buster t3kit10/php7.4-fpm-nginx-buster/ | |
- name: Run <t3kit10-php7.4-fpm-nginx-buster> | |
run: docker run -d --name=t3kit10-php7.4-fpm-nginx-buster t3kit10-php7.4-fpm-nginx-buster | |
- name: Show running containers | |
run: docker ps | |
- name: curl localhost | |
run: docker exec -i t3kit10-php7.4-fpm-nginx-buster curl -vfsSLI localhost | |
# t3kit11 | |
t3kit11-php8-fpm-nginx-buster: | |
name: t3kit11-php8-fpm-nginx-buster | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker build <t3kit11-php8-fpm-nginx-buster> | |
run: docker -D build -t t3kit11-php8-fpm-nginx-buster t3kit11/php8-fpm-nginx-buster/ | |
- name: Run <t3kit11-php8-fpm-nginx-buster> | |
run: docker run -d --name=t3kit11-php8-fpm-nginx-buster t3kit11-php8-fpm-nginx-buster | |
- name: Show running containers | |
run: docker ps | |
- name: curl localhost | |
run: docker exec -i t3kit11-php8-fpm-nginx-buster curl -vfsSLI localhost | |
# t3kit12 | |
t3kit12-php8-fpm-nginx-bookworm: | |
name: t3kit12-php8-fpm-nginx-bookworm | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker build <t3kit12-php8-fpm-nginx-bookworm> | |
run: docker -D build -t t3kit12-php8-fpm-nginx-bookworm t3kit12/php8-fpm-nginx-bookworm/ | |
- name: Run <t3kit12-php8-fpm-nginx-bookworm> | |
run: docker run -d --name=t3kit12-php8-fpm-nginx-bookworm t3kit12-php8-fpm-nginx-bookworm | |
- name: Show running containers | |
run: docker ps | |
- name: curl localhost | |
run: docker exec -i t3kit12-php8-fpm-nginx-bookworm curl -vfsSLI localhost |