diff --git a/.github/workflows/build_preview.yml b/.github/workflows/build_preview.yml index aab7966..b5dab70 100644 --- a/.github/workflows/build_preview.yml +++ b/.github/workflows/build_preview.yml @@ -21,17 +21,17 @@ jobs: - name: "Docker Pull" run: | docker pull adhocore/phpfpm:7.4 || true - - name: "[8.3a] Build and push" + - name: "[8.3] Build and push" id: docker_build_83 uses: docker/build-push-action@v4 with: push: true file: 8.3.Dockerfile - tags: adhocore/lemp:8.3a + tags: adhocore/lemp:8.3b platforms: linux/amd64,linux/arm64 - name: "[8.3] Test" run: | - docker run --name lemp83 adhocore/lemp:8.3a & + docker run --name lemp83 adhocore/lemp:8.3b & sleep 60 docker exec $(docker ps -q -f 'name=lemp83') netstat -ant | grep -E '0:11300|0:11211|1:9300|1:9200|::9000|0:6379|1:5432|0:3306|0:88|0:25' PORTS=$(docker exec $(docker ps -q -f 'name=lemp83') netstat -ant | grep -E '0:11300|0:11211|1:9300|1:9200|::9000|0:6379|1:5432|0:3306|0:88|0:25' | wc -l | xargs)