Repository navigation
[WIP] add github workflow build #14
Workflow file for this run
This file contains hidden or 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 | ||
|
Check failure on line 1 in .github/workflows/build.yaml
|
||
| 'on': | ||
| schedule: | ||
| - | ||
| cron: '0 0 * * *' | ||
| push: null | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| workflow_dispatch: null | ||
| jobs: | ||
| apache_alpine: | ||
| needs: | ||
| - base_alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/apache/alpine | ||
| load: true | ||
| tags: 'webdevops/apache:alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/apache:alpine" >> Dockerfile_696f43979326c4.25573555 | ||
| echo "COPY conf/ /" >> Dockerfile_696f43979326c4.25573555 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/apache_spec.rb webdevops/apache:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2FwYWNoZTphbHBpbmUiLCJET0NLRVJfVEFHIjoiYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IiIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTMyNmM0LjI1NTczNTU1In0= Dockerfile_696f43979326c4.25573555 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/apache/alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/apache:alpine,webdevops/apache:alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/apache/alpine' | ||
| - 'docker build --no-cache -t webdevops/apache:alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/apache:alpine" >> Dockerfile_696f4397932811.62438128' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397932811.62438128' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/apache_spec.rb webdevops/apache:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2FwYWNoZTphbHBpbmUiLCJET0NLRVJfVEFHIjoiYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IiIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTMyODExLjYyNDM4MTI4In0= Dockerfile_696f4397932811.62438128' | ||
| - 'docker push webdevops/apache:alpine' | ||
| - 'docker tag webdevops/apache:alpine $CI_REGISTRY_IMAGE/apache:alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/apache:alpine' | ||
| base-app_alpine: | ||
| needs: | ||
| - base_alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base-app/alpine | ||
| load: true | ||
| tags: 'webdevops/base-app:alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/base-app:alpine" >> Dockerfile_696f4397932ef6.43422074 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397932ef6.43422074 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/base-app_spec.rb webdevops/base-app:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2UtYXBwOmFscGluZSIsIkRPQ0tFUl9UQUciOiJhbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MzJlZjYuNDM0MjIwNzQifQ== Dockerfile_696f4397932ef6.43422074 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/base-app:alpine --config base-app/test.yaml --config base-app/alpine/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base-app/alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/base-app:alpine,webdevops/base-app:alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/base-app/alpine' | ||
| - 'docker build --no-cache -t webdevops/base-app:alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/base-app:alpine" >> Dockerfile_696f4397933067.16940950' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397933067.16940950' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/base-app_spec.rb webdevops/base-app:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2UtYXBwOmFscGluZSIsIkRPQ0tFUl9UQUciOiJhbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MzMwNjcuMTY5NDA5NTAifQ== Dockerfile_696f4397933067.16940950' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/base-app:alpine --config base-app/test.yaml --config base-app/alpine/test.yaml' | ||
| - 'docker push webdevops/base-app:alpine' | ||
| - 'docker tag webdevops/base-app:alpine $CI_REGISTRY_IMAGE/base-app:alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/base-app:alpine' | ||
| base-app_ubuntu-22-04: | ||
| needs: | ||
| - base_ubuntu-22-04 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base-app/ubuntu-22.04 | ||
| load: true | ||
| tags: 'webdevops/base-app:ubuntu-22.04' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/base-app:ubuntu-22.04" >> Dockerfile_696f4397933eb3.97390932 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397933eb3.97390932 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/base-app_spec.rb webdevops/base-app:ubuntu-22.04 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2UtYXBwOnVidW50dS0yMi4wNCIsIkRPQ0tFUl9UQUciOiJ1YnVudHUtMjIuMDQiLCJPU19GQU1JTFkiOiJ1YnVudHUiLCJPU19WRVJTSU9OIjoiMjIuMDQiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzM2ViMy45NzM5MDkzMiJ9 Dockerfile_696f4397933eb3.97390932 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/base-app:ubuntu-22.04 --config base-app/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base-app/ubuntu-22.04 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/base-app:ubuntu-22.04,webdevops/base-app:ubuntu-22.04' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/base-app/ubuntu-22.04' | ||
| - 'docker build --no-cache -t webdevops/base-app:ubuntu-22.04 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/base-app:ubuntu-22.04" >> Dockerfile_696f43979340a5.75421301' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979340a5.75421301' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/base-app_spec.rb webdevops/base-app:ubuntu-22.04 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2UtYXBwOnVidW50dS0yMi4wNCIsIkRPQ0tFUl9UQUciOiJ1YnVudHUtMjIuMDQiLCJPU19GQU1JTFkiOiJ1YnVudHUiLCJPU19WRVJTSU9OIjoiMjIuMDQiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzNDBhNS43NTQyMTMwMSJ9 Dockerfile_696f43979340a5.75421301' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/base-app:ubuntu-22.04 --config base-app/test.yaml' | ||
| - 'docker push webdevops/base-app:ubuntu-22.04' | ||
| - 'docker tag webdevops/base-app:ubuntu-22.04 $CI_REGISTRY_IMAGE/base-app:ubuntu-22.04' | ||
| - 'docker push $CI_REGISTRY_IMAGE/base-app:ubuntu-22.04' | ||
| - 'docker tag webdevops/base-app:ubuntu-22.04 webdevops/base-app:latest' | ||
| - 'docker push webdevops/base-app:latest' | ||
| base_alpine: | ||
| needs: | ||
| - bootstrap_alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base/alpine | ||
| load: true | ||
| tags: 'webdevops/base:alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/base:alpine" >> Dockerfile_696f4397932295.60385093 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397932295.60385093 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/base_spec.rb webdevops/base:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2U6YWxwaW5lIiwiRE9DS0VSX1RBRyI6ImFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzMjI5NS42MDM4NTA5MyJ9 Dockerfile_696f4397932295.60385093 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/base:alpine --config base/test.yaml --config base/alpine/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base/alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/base:alpine,webdevops/base:alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/base/alpine' | ||
| - 'docker build --no-cache -t webdevops/base:alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/base:alpine" >> Dockerfile_696f43979323e3.04991212' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979323e3.04991212' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/base_spec.rb webdevops/base:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2U6YWxwaW5lIiwiRE9DS0VSX1RBRyI6ImFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzMjNlMy4wNDk5MTIxMiJ9 Dockerfile_696f43979323e3.04991212' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/base:alpine --config base/test.yaml --config base/alpine/test.yaml' | ||
| - 'docker push webdevops/base:alpine' | ||
| - 'docker tag webdevops/base:alpine $CI_REGISTRY_IMAGE/base:alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/base:alpine' | ||
| base_ubuntu-22-04: | ||
| needs: | ||
| - bootstrap_ubuntu-22-04 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base/ubuntu-22.04 | ||
| load: true | ||
| tags: 'webdevops/base:ubuntu-22.04' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/base:ubuntu-22.04" >> Dockerfile_696f4397933531.51021290 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397933531.51021290 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/base_spec.rb webdevops/base:ubuntu-22.04 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2U6dWJ1bnR1LTIyLjA0IiwiRE9DS0VSX1RBRyI6InVidW50dS0yMi4wNCIsIk9TX0ZBTUlMWSI6InVidW50dSIsIk9TX1ZFUlNJT04iOiIyMi4wNCIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTMzNTMxLjUxMDIxMjkwIn0= Dockerfile_696f4397933531.51021290 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/base:ubuntu-22.04 --config base/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/base/ubuntu-22.04 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/base:ubuntu-22.04,webdevops/base:ubuntu-22.04' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/base/ubuntu-22.04' | ||
| - 'docker build --no-cache -t webdevops/base:ubuntu-22.04 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/base:ubuntu-22.04" >> Dockerfile_696f43979336b4.34912147' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979336b4.34912147' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/base_spec.rb webdevops/base:ubuntu-22.04 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jhc2U6dWJ1bnR1LTIyLjA0IiwiRE9DS0VSX1RBRyI6InVidW50dS0yMi4wNCIsIk9TX0ZBTUlMWSI6InVidW50dSIsIk9TX1ZFUlNJT04iOiIyMi4wNCIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTMzNmI0LjM0OTEyMTQ3In0= Dockerfile_696f43979336b4.34912147' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/base:ubuntu-22.04 --config base/test.yaml' | ||
| - 'docker push webdevops/base:ubuntu-22.04' | ||
| - 'docker tag webdevops/base:ubuntu-22.04 $CI_REGISTRY_IMAGE/base:ubuntu-22.04' | ||
| - 'docker push $CI_REGISTRY_IMAGE/base:ubuntu-22.04' | ||
| - 'docker tag webdevops/base:ubuntu-22.04 webdevops/base:latest' | ||
| - 'docker push webdevops/base:latest' | ||
| bootstrap_alpine: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/bootstrap/alpine | ||
| load: true | ||
| tags: 'webdevops/bootstrap:alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/bootstrap:alpine" >> Dockerfile_696f4397931e43.49055186 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397931e43.49055186 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/bootstrap_spec.rb webdevops/bootstrap:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jvb3RzdHJhcDphbHBpbmUiLCJET0NLRVJfVEFHIjoiYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IiIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTMxZTQzLjQ5MDU1MTg2In0= Dockerfile_696f4397931e43.49055186 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/bootstrap:alpine --config bootstrap/test.yaml --config bootstrap/alpine/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/bootstrap/alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/bootstrap:alpine,webdevops/bootstrap:alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/bootstrap/alpine' | ||
| - 'docker build --no-cache -t webdevops/bootstrap:alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/bootstrap:alpine" >> Dockerfile_696f4397931fa9.97068833' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397931fa9.97068833' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/bootstrap_spec.rb webdevops/bootstrap:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jvb3RzdHJhcDphbHBpbmUiLCJET0NLRVJfVEFHIjoiYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IiIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTMxZmE5Ljk3MDY4ODMzIn0= Dockerfile_696f4397931fa9.97068833' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/bootstrap:alpine --config bootstrap/test.yaml --config bootstrap/alpine/test.yaml' | ||
| - 'docker push webdevops/bootstrap:alpine' | ||
| - 'docker tag webdevops/bootstrap:alpine $CI_REGISTRY_IMAGE/bootstrap:alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/bootstrap:alpine' | ||
| bootstrap_ubuntu-22-04: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/bootstrap/ubuntu-22.04 | ||
| load: true | ||
| tags: 'webdevops/bootstrap:ubuntu-22.04' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/bootstrap:ubuntu-22.04" >> Dockerfile_696f4397933268.45360063 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397933268.45360063 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/bootstrap_spec.rb webdevops/bootstrap:ubuntu-22.04 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jvb3RzdHJhcDp1YnVudHUtMjIuMDQiLCJET0NLRVJfVEFHIjoidWJ1bnR1LTIyLjA0IiwiT1NfRkFNSUxZIjoidWJ1bnR1IiwiT1NfVkVSU0lPTiI6IjIyLjA0IiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MzMyNjguNDUzNjAwNjMifQ== Dockerfile_696f4397933268.45360063 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/bootstrap:ubuntu-22.04 --config bootstrap/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/bootstrap/ubuntu-22.04 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/bootstrap:ubuntu-22.04,webdevops/bootstrap:ubuntu-22.04' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/bootstrap/ubuntu-22.04' | ||
| - 'docker build --no-cache -t webdevops/bootstrap:ubuntu-22.04 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/bootstrap:ubuntu-22.04" >> Dockerfile_696f4397933382.75696220' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397933382.75696220' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/bootstrap_spec.rb webdevops/bootstrap:ubuntu-22.04 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL2Jvb3RzdHJhcDp1YnVudHUtMjIuMDQiLCJET0NLRVJfVEFHIjoidWJ1bnR1LTIyLjA0IiwiT1NfRkFNSUxZIjoidWJ1bnR1IiwiT1NfVkVSU0lPTiI6IjIyLjA0IiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MzMzODIuNzU2OTYyMjAifQ== Dockerfile_696f4397933382.75696220' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/bootstrap:ubuntu-22.04 --config bootstrap/test.yaml' | ||
| - 'docker push webdevops/bootstrap:ubuntu-22.04' | ||
| - 'docker tag webdevops/bootstrap:ubuntu-22.04 $CI_REGISTRY_IMAGE/bootstrap:ubuntu-22.04' | ||
| - 'docker push $CI_REGISTRY_IMAGE/bootstrap:ubuntu-22.04' | ||
| - 'docker tag webdevops/bootstrap:ubuntu-22.04 webdevops/bootstrap:latest' | ||
| - 'docker push webdevops/bootstrap:latest' | ||
| dockerfile-build-env_latest: | ||
| needs: | ||
| - base-app_ubuntu-22-04 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/dockerfile-build-env/latest | ||
| load: true | ||
| tags: 'webdevops/dockerfile-build-env:latest' | ||
| platforms: linux/amd64 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/dockerfile-build-env/latest | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/dockerfile-build-env:latest,webdevops/dockerfile-build-env:latest' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/dockerfile-build-env/latest' | ||
| - 'docker build --no-cache -t webdevops/dockerfile-build-env:latest .' | ||
| - 'docker push webdevops/dockerfile-build-env:latest' | ||
| - 'docker tag webdevops/dockerfile-build-env:latest $CI_REGISTRY_IMAGE/dockerfile-build-env:latest' | ||
| - 'docker push $CI_REGISTRY_IMAGE/dockerfile-build-env:latest' | ||
| nginx_alpine: | ||
| needs: | ||
| - base_alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/nginx/alpine | ||
| load: true | ||
| tags: 'webdevops/nginx:alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/nginx:alpine" >> Dockerfile_696f4397932af5.69464084 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397932af5.69464084 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/nginx_spec.rb webdevops/nginx:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL25naW54OmFscGluZSIsIkRPQ0tFUl9UQUciOiJhbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MzJhZjUuNjk0NjQwODQifQ== Dockerfile_696f4397932af5.69464084 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/nginx/alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/nginx:alpine,webdevops/nginx:alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/nginx/alpine' | ||
| - 'docker build --no-cache -t webdevops/nginx:alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/nginx:alpine" >> Dockerfile_696f4397932c15.39310343' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397932c15.39310343' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/nginx_spec.rb webdevops/nginx:alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL25naW54OmFscGluZSIsIkRPQ0tFUl9UQUciOiJhbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MzJjMTUuMzkzMTAzNDMifQ== Dockerfile_696f4397932c15.39310343' | ||
| - 'docker push webdevops/nginx:alpine' | ||
| - 'docker tag webdevops/nginx:alpine $CI_REGISTRY_IMAGE/nginx:alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/nginx:alpine' | ||
| php-apache-dev_8-1: | ||
| needs: | ||
| - php-apache_8-1 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.1 | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.1' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.1" >> Dockerfile_696f439790c6c4.11914052 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790c6c4.11914052 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMSIsIkRPQ0tFUl9UQUciOiI4LjEiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MGM2YzQuMTE5MTQwNTIifQ== Dockerfile_696f439790c6c4.11914052 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.1 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.1,webdevops/php-apache-dev:8.1' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.1' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.1 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.1" >> Dockerfile_696f439790c778.99715458' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790c778.99715458' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMSIsIkRPQ0tFUl9UQUciOiI4LjEiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MGM3NzguOTk3MTU0NTgifQ== Dockerfile_696f439790c778.99715458' | ||
| - 'docker push webdevops/php-apache-dev:8.1' | ||
| - 'docker tag webdevops/php-apache-dev:8.1 $CI_REGISTRY_IMAGE/php-apache-dev:8.1' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.1' | ||
| php-apache-dev_8-1-alpine: | ||
| needs: | ||
| - php-apache_8-1-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.1-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.1-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.1-alpine" >> Dockerfile_696f439792bb65.31784098 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792bb65.31784098 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMS1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC4xLWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJiYjY1LjMxNzg0MDk4In0= Dockerfile_696f439792bb65.31784098 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.1-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.1-alpine,webdevops/php-apache-dev:8.1-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.1-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.1-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.1-alpine" >> Dockerfile_696f439792bc54.16950228' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792bc54.16950228' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMS1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC4xLWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJiYzU0LjE2OTUwMjI4In0= Dockerfile_696f439792bc54.16950228' | ||
| - 'docker push webdevops/php-apache-dev:8.1-alpine' | ||
| - 'docker tag webdevops/php-apache-dev:8.1-alpine $CI_REGISTRY_IMAGE/php-apache-dev:8.1-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.1-alpine' | ||
| php-apache-dev_8-2: | ||
| needs: | ||
| - php-apache_8-2 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.2 | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.2' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.2" >> Dockerfile_696f4397923261.66507103 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397923261.66507103 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMiIsIkRPQ0tFUl9UQUciOiI4LjIiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MjMyNjEuNjY1MDcxMDMifQ== Dockerfile_696f4397923261.66507103 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.2 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.2,webdevops/php-apache-dev:8.2' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.2' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.2 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.2" >> Dockerfile_696f4397923347.46739455' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397923347.46739455' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMiIsIkRPQ0tFUl9UQUciOiI4LjIiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MjMzNDcuNDY3Mzk0NTUifQ== Dockerfile_696f4397923347.46739455' | ||
| - 'docker push webdevops/php-apache-dev:8.2' | ||
| - 'docker tag webdevops/php-apache-dev:8.2 $CI_REGISTRY_IMAGE/php-apache-dev:8.2' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.2' | ||
| php-apache-dev_8-2-alpine: | ||
| needs: | ||
| - php-apache_8-2-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.2-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.2-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.2-alpine" >> Dockerfile_696f439791ae85.80411457 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791ae85.80411457 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMi1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC4yLWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTFhZTg1LjgwNDExNDU3In0= Dockerfile_696f439791ae85.80411457 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.2-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.2-alpine,webdevops/php-apache-dev:8.2-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.2-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.2-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.2-alpine" >> Dockerfile_696f439791af93.11591574' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791af93.11591574' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMi1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC4yLWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTFhZjkzLjExNTkxNTc0In0= Dockerfile_696f439791af93.11591574' | ||
| - 'docker push webdevops/php-apache-dev:8.2-alpine' | ||
| - 'docker tag webdevops/php-apache-dev:8.2-alpine $CI_REGISTRY_IMAGE/php-apache-dev:8.2-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.2-alpine' | ||
| php-apache-dev_8-3: | ||
| needs: | ||
| - php-apache_8-3 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.3 | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.3' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.3" >> Dockerfile_696f439792f573.76459171 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792f573.76459171 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMyIsIkRPQ0tFUl9UQUciOiI4LjMiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmY1NzMuNzY0NTkxNzEifQ== Dockerfile_696f439792f573.76459171 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.3 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.3,webdevops/php-apache-dev:8.3' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.3' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.3 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.3" >> Dockerfile_696f439792f706.71022526' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792f706.71022526' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMyIsIkRPQ0tFUl9UQUciOiI4LjMiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmY3MDYuNzEwMjI1MjYifQ== Dockerfile_696f439792f706.71022526' | ||
| - 'docker push webdevops/php-apache-dev:8.3' | ||
| - 'docker tag webdevops/php-apache-dev:8.3 $CI_REGISTRY_IMAGE/php-apache-dev:8.3' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.3' | ||
| php-apache-dev_8-3-alpine: | ||
| needs: | ||
| - php-apache_8-3-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.3-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.3-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.3-alpine" >> Dockerfile_696f439790f361.07326557 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790f361.07326557 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMy1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC4zLWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTBmMzYxLjA3MzI2NTU3In0= Dockerfile_696f439790f361.07326557 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.3-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.3-alpine,webdevops/php-apache-dev:8.3-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.3-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.3-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.3-alpine" >> Dockerfile_696f439790f446.35005603' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790f446.35005603' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguMy1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC4zLWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTBmNDQ2LjM1MDA1NjAzIn0= Dockerfile_696f439790f446.35005603' | ||
| - 'docker push webdevops/php-apache-dev:8.3-alpine' | ||
| - 'docker tag webdevops/php-apache-dev:8.3-alpine $CI_REGISTRY_IMAGE/php-apache-dev:8.3-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.3-alpine' | ||
| php-apache-dev_8-4: | ||
| needs: | ||
| - php-apache_8-4 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.4 | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.4' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.4" >> Dockerfile_696f43979285e5.95856523 | ||
| echo "COPY conf/ /" >> Dockerfile_696f43979285e5.95856523 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNCIsIkRPQ0tFUl9UQUciOiI4LjQiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5Mjg1ZTUuOTU4NTY1MjMifQ== Dockerfile_696f43979285e5.95856523 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.4 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.4,webdevops/php-apache-dev:8.4' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.4' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.4 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.4" >> Dockerfile_696f43979286e3.82341588' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979286e3.82341588' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNCIsIkRPQ0tFUl9UQUciOiI4LjQiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5Mjg2ZTMuODIzNDE1ODgifQ== Dockerfile_696f43979286e3.82341588' | ||
| - 'docker push webdevops/php-apache-dev:8.4' | ||
| - 'docker tag webdevops/php-apache-dev:8.4 $CI_REGISTRY_IMAGE/php-apache-dev:8.4' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.4' | ||
| php-apache-dev_8-4-alpine: | ||
| needs: | ||
| - php-apache_8-4-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.4-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.4-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.4-alpine" >> Dockerfile_696f439791ca02.81488319 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791ca02.81488319 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNC1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC40LWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTFjYTAyLjgxNDg4MzE5In0= Dockerfile_696f439791ca02.81488319 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.4-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.4-alpine,webdevops/php-apache-dev:8.4-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.4-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.4-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.4-alpine" >> Dockerfile_696f439791cb26.06101115' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791cb26.06101115' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNC1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC40LWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTFjYjI2LjA2MTAxMTE1In0= Dockerfile_696f439791cb26.06101115' | ||
| - 'docker push webdevops/php-apache-dev:8.4-alpine' | ||
| - 'docker tag webdevops/php-apache-dev:8.4-alpine $CI_REGISTRY_IMAGE/php-apache-dev:8.4-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.4-alpine' | ||
| php-apache-dev_8-5: | ||
| needs: | ||
| - php-apache_8-5 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.5 | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.5' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.5" >> Dockerfile_696f43979181b7.89837323 | ||
| echo "COPY conf/ /" >> Dockerfile_696f43979181b7.89837323 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNSIsIkRPQ0tFUl9UQUciOiI4LjUiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MTgxYjcuODk4MzczMjMifQ== Dockerfile_696f43979181b7.89837323 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.5 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.5,webdevops/php-apache-dev:8.5' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.5' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.5 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.5" >> Dockerfile_696f4397918270.21751446' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397918270.21751446' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNSIsIkRPQ0tFUl9UQUciOiI4LjUiLCJPU19GQU1JTFkiOiJkZWJpYW4iLCJPU19WRVJTSU9OIjoiMTIiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MTgyNzAuMjE3NTE0NDYifQ== Dockerfile_696f4397918270.21751446' | ||
| - 'docker push webdevops/php-apache-dev:8.5' | ||
| - 'docker tag webdevops/php-apache-dev:8.5 $CI_REGISTRY_IMAGE/php-apache-dev:8.5' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.5' | ||
| php-apache-dev_8-5-alpine: | ||
| needs: | ||
| - php-apache_8-5-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.5-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache-dev:8.5-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache-dev:8.5-alpine" >> Dockerfile_696f439792d2b8.27252431 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792d2b8.27252431 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNS1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC41LWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJkMmI4LjI3MjUyNDMxIn0= Dockerfile_696f439792d2b8.27252431 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache-dev/8.5-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache-dev:8.5-alpine,webdevops/php-apache-dev:8.5-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache-dev/8.5-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache-dev:8.5-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache-dev:8.5-alpine" >> Dockerfile_696f439792d3d9.67747857' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792d3d9.67747857' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache-dev_spec.rb webdevops/php-apache-dev:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGUtZGV2OjguNS1hbHBpbmUiLCJET0NLRVJfVEFHIjoiOC41LWFscGluZSIsIk9TX0ZBTUlMWSI6ImFscGluZSIsIk9TX1ZFUlNJT04iOiIzIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJkM2Q5LjY3NzQ3ODU3In0= Dockerfile_696f439792d3d9.67747857' | ||
| - 'docker push webdevops/php-apache-dev:8.5-alpine' | ||
| - 'docker tag webdevops/php-apache-dev:8.5-alpine $CI_REGISTRY_IMAGE/php-apache-dev:8.5-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache-dev:8.5-alpine' | ||
| php-apache_8-1: | ||
| needs: | ||
| - php_8-1 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.1 | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.1' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.1" >> Dockerfile_696f439790c4e1.12544854 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790c4e1.12544854 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4xIiwiRE9DS0VSX1RBRyI6IjguMSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwYzRlMS4xMjU0NDg1NCJ9 Dockerfile_696f439790c4e1.12544854 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.1 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.1,webdevops/php-apache:8.1' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.1' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.1 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.1" >> Dockerfile_696f439790c5b9.29378467' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790c5b9.29378467' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4xIiwiRE9DS0VSX1RBRyI6IjguMSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwYzViOS4yOTM3ODQ2NyJ9 Dockerfile_696f439790c5b9.29378467' | ||
| - 'docker push webdevops/php-apache:8.1' | ||
| - 'docker tag webdevops/php-apache:8.1 $CI_REGISTRY_IMAGE/php-apache:8.1' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.1' | ||
| php-apache_8-1-alpine: | ||
| needs: | ||
| - php_8-1-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.1-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.1-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.1-alpine" >> Dockerfile_696f439792b7d8.40258988 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792b7d8.40258988 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4xLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjEtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmI3ZDguNDAyNTg5ODgifQ== Dockerfile_696f439792b7d8.40258988 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.1-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.1-alpine,webdevops/php-apache:8.1-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.1-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.1-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.1-alpine" >> Dockerfile_696f439792b942.43718118' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792b942.43718118' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4xLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjEtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmI5NDIuNDM3MTgxMTgifQ== Dockerfile_696f439792b942.43718118' | ||
| - 'docker push webdevops/php-apache:8.1-alpine' | ||
| - 'docker tag webdevops/php-apache:8.1-alpine $CI_REGISTRY_IMAGE/php-apache:8.1-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.1-alpine' | ||
| php-apache_8-2: | ||
| needs: | ||
| - php_8-2 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.2 | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.2' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.2" >> Dockerfile_696f4397923055.90629763 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397923055.90629763 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4yIiwiRE9DS0VSX1RBRyI6IjguMiIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyMzA1NS45MDYyOTc2MyJ9 Dockerfile_696f4397923055.90629763 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.2 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.2,webdevops/php-apache:8.2' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.2' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.2 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.2" >> Dockerfile_696f43979230f8.10246213' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979230f8.10246213' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4yIiwiRE9DS0VSX1RBRyI6IjguMiIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyMzBmOC4xMDI0NjIxMyJ9 Dockerfile_696f43979230f8.10246213' | ||
| - 'docker push webdevops/php-apache:8.2' | ||
| - 'docker tag webdevops/php-apache:8.2 $CI_REGISTRY_IMAGE/php-apache:8.2' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.2' | ||
| php-apache_8-2-alpine: | ||
| needs: | ||
| - php_8-2-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.2-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.2-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.2-alpine" >> Dockerfile_696f439791aa75.21166375 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791aa75.21166375 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4yLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjItYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWFhNzUuMjExNjYzNzUifQ== Dockerfile_696f439791aa75.21166375 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.2-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.2-alpine,webdevops/php-apache:8.2-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.2-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.2-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.2-alpine" >> Dockerfile_696f439791ab99.17765914' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791ab99.17765914' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4yLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjItYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWFiOTkuMTc3NjU5MTQifQ== Dockerfile_696f439791ab99.17765914' | ||
| - 'docker push webdevops/php-apache:8.2-alpine' | ||
| - 'docker tag webdevops/php-apache:8.2-alpine $CI_REGISTRY_IMAGE/php-apache:8.2-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.2-alpine' | ||
| php-apache_8-3: | ||
| needs: | ||
| - php_8-3 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.3 | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.3' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.3" >> Dockerfile_696f439792f185.58140112 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792f185.58140112 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4zIiwiRE9DS0VSX1RBRyI6IjguMyIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyZjE4NS41ODE0MDExMiJ9 Dockerfile_696f439792f185.58140112 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.3 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.3,webdevops/php-apache:8.3' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.3' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.3 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.3" >> Dockerfile_696f439792f277.10759045' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792f277.10759045' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4zIiwiRE9DS0VSX1RBRyI6IjguMyIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyZjI3Ny4xMDc1OTA0NSJ9 Dockerfile_696f439792f277.10759045' | ||
| - 'docker push webdevops/php-apache:8.3' | ||
| - 'docker tag webdevops/php-apache:8.3 $CI_REGISTRY_IMAGE/php-apache:8.3' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.3' | ||
| php-apache_8-3-alpine: | ||
| needs: | ||
| - php_8-3-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.3-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.3-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.3-alpine" >> Dockerfile_696f439790f0f8.80968736 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790f0f8.80968736 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4zLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjMtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MGYwZjguODA5Njg3MzYifQ== Dockerfile_696f439790f0f8.80968736 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.3-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.3-alpine,webdevops/php-apache:8.3-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.3-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.3-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.3-alpine" >> Dockerfile_696f439790f1f5.75009251' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790f1f5.75009251' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC4zLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjMtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MGYxZjUuNzUwMDkyNTEifQ== Dockerfile_696f439790f1f5.75009251' | ||
| - 'docker push webdevops/php-apache:8.3-alpine' | ||
| - 'docker tag webdevops/php-apache:8.3-alpine $CI_REGISTRY_IMAGE/php-apache:8.3-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.3-alpine' | ||
| php-apache_8-4: | ||
| needs: | ||
| - php_8-4 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.4 | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.4' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.4" >> Dockerfile_696f4397928221.99789480 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397928221.99789480 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC40IiwiRE9DS0VSX1RBRyI6IjguNCIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyODIyMS45OTc4OTQ4MCJ9 Dockerfile_696f4397928221.99789480 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.4 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.4,webdevops/php-apache:8.4' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.4' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.4 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.4" >> Dockerfile_696f4397928327.62411373' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397928327.62411373' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC40IiwiRE9DS0VSX1RBRyI6IjguNCIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyODMyNy42MjQxMTM3MyJ9 Dockerfile_696f4397928327.62411373' | ||
| - 'docker push webdevops/php-apache:8.4' | ||
| - 'docker tag webdevops/php-apache:8.4 $CI_REGISTRY_IMAGE/php-apache:8.4' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.4' | ||
| php-apache_8-4-alpine: | ||
| needs: | ||
| - php_8-4-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.4-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.4-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.4-alpine" >> Dockerfile_696f439791c5f5.20012458 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791c5f5.20012458 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC40LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjQtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWM1ZjUuMjAwMTI0NTgifQ== Dockerfile_696f439791c5f5.20012458 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.4-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.4-alpine,webdevops/php-apache:8.4-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.4-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.4-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.4-alpine" >> Dockerfile_696f439791c821.09217949' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791c821.09217949' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC40LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjQtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWM4MjEuMDkyMTc5NDkifQ== Dockerfile_696f439791c821.09217949' | ||
| - 'docker push webdevops/php-apache:8.4-alpine' | ||
| - 'docker tag webdevops/php-apache:8.4-alpine $CI_REGISTRY_IMAGE/php-apache:8.4-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.4-alpine' | ||
| php-apache_8-5: | ||
| needs: | ||
| - php_8-5 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.5 | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.5' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.5" >> Dockerfile_696f4397917f50.57217122 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397917f50.57217122 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC41IiwiRE9DS0VSX1RBRyI6IjguNSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxN2Y1MC41NzIxNzEyMiJ9 Dockerfile_696f4397917f50.57217122 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.5 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.5,webdevops/php-apache:8.5' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.5' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.5 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.5" >> Dockerfile_696f4397918068.31773495' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397918068.31773495' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC41IiwiRE9DS0VSX1RBRyI6IjguNSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxODA2OC4zMTc3MzQ5NSJ9 Dockerfile_696f4397918068.31773495' | ||
| - 'docker push webdevops/php-apache:8.5' | ||
| - 'docker tag webdevops/php-apache:8.5 $CI_REGISTRY_IMAGE/php-apache:8.5' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.5' | ||
| php-apache_8-5-alpine: | ||
| needs: | ||
| - php_8-5-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.5-alpine | ||
| load: true | ||
| tags: 'webdevops/php-apache:8.5-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-apache:8.5-alpine" >> Dockerfile_696f439792cca7.92177574 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792cca7.92177574 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC41LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjUtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmNjYTcuOTIxNzc1NzQifQ== Dockerfile_696f439792cca7.92177574 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-apache/8.5-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-apache:8.5-alpine,webdevops/php-apache:8.5-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-apache/8.5-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-apache:8.5-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-apache:8.5-alpine" >> Dockerfile_696f439792ce61.47441581' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792ce61.47441581' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-apache_spec.rb webdevops/php-apache:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1hcGFjaGU6OC41LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjUtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmNlNjEuNDc0NDE1ODEifQ== Dockerfile_696f439792ce61.47441581' | ||
| - 'docker push webdevops/php-apache:8.5-alpine' | ||
| - 'docker tag webdevops/php-apache:8.5-alpine $CI_REGISTRY_IMAGE/php-apache:8.5-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-apache:8.5-alpine' | ||
| php-dev_8-1: | ||
| needs: | ||
| - php_8-1 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.1 | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.1' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.1" >> Dockerfile_696f439790c983.12569632 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790c983.12569632 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4xIiwiRE9DS0VSX1RBRyI6IjguMSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwYzk4My4xMjU2OTYzMiJ9 Dockerfile_696f439790c983.12569632 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.1 --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.1 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.1,webdevops/php-dev:8.1' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.1' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.1 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.1" >> Dockerfile_696f439790ca75.99123271' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790ca75.99123271' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4xIiwiRE9DS0VSX1RBRyI6IjguMSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwY2E3NS45OTEyMzI3MSJ9 Dockerfile_696f439790ca75.99123271' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.1 --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.1' | ||
| - 'docker tag webdevops/php-dev:8.1 $CI_REGISTRY_IMAGE/php-dev:8.1' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.1' | ||
| php-dev_8-1-alpine: | ||
| needs: | ||
| - php_8-1-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.1-alpine | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.1-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.1-alpine" >> Dockerfile_696f439792bdd2.90012992 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792bdd2.90012992 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4xLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjEtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmJkZDIuOTAwMTI5OTIifQ== Dockerfile_696f439792bdd2.90012992 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.1-alpine --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.1-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.1-alpine,webdevops/php-dev:8.1-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.1-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.1-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.1-alpine" >> Dockerfile_696f439792bee7.40255207' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792bee7.40255207' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4xLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjEtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmJlZTcuNDAyNTUyMDcifQ== Dockerfile_696f439792bee7.40255207' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.1-alpine --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.1-alpine' | ||
| - 'docker tag webdevops/php-dev:8.1-alpine $CI_REGISTRY_IMAGE/php-dev:8.1-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.1-alpine' | ||
| php-dev_8-2: | ||
| needs: | ||
| - php_8-2 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.2 | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.2' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.2" >> Dockerfile_696f4397923635.58713144 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397923635.58713144 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4yIiwiRE9DS0VSX1RBRyI6IjguMiIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyMzYzNS41ODcxMzE0NCJ9 Dockerfile_696f4397923635.58713144 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.2 --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.2 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.2,webdevops/php-dev:8.2' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.2' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.2 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.2" >> Dockerfile_696f4397923775.55849365' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397923775.55849365' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4yIiwiRE9DS0VSX1RBRyI6IjguMiIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyMzc3NS41NTg0OTM2NSJ9 Dockerfile_696f4397923775.55849365' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.2 --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.2' | ||
| - 'docker tag webdevops/php-dev:8.2 $CI_REGISTRY_IMAGE/php-dev:8.2' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.2' | ||
| php-dev_8-2-alpine: | ||
| needs: | ||
| - php_8-2-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.2-alpine | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.2-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.2-alpine" >> Dockerfile_696f439791b269.02374395 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791b269.02374395 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4yLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjItYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWIyNjkuMDIzNzQzOTUifQ== Dockerfile_696f439791b269.02374395 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.2-alpine --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.2-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.2-alpine,webdevops/php-dev:8.2-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.2-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.2-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.2-alpine" >> Dockerfile_696f439791b3c3.44156957' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791b3c3.44156957' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4yLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjItYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWIzYzMuNDQxNTY5NTcifQ== Dockerfile_696f439791b3c3.44156957' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.2-alpine --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.2-alpine' | ||
| - 'docker tag webdevops/php-dev:8.2-alpine $CI_REGISTRY_IMAGE/php-dev:8.2-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.2-alpine' | ||
| php-dev_8-3: | ||
| needs: | ||
| - php_8-3 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.3 | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.3' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.3" >> Dockerfile_696f439792f9d5.99856490 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792f9d5.99856490 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4zIiwiRE9DS0VSX1RBRyI6IjguMyIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyZjlkNS45OTg1NjQ5MCJ9 Dockerfile_696f439792f9d5.99856490 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.3 --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.3 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.3,webdevops/php-dev:8.3' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.3' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.3 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.3" >> Dockerfile_696f439792fb06.03575609' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792fb06.03575609' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4zIiwiRE9DS0VSX1RBRyI6IjguMyIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyZmIwNi4wMzU3NTYwOSJ9 Dockerfile_696f439792fb06.03575609' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.3 --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.3' | ||
| - 'docker tag webdevops/php-dev:8.3 $CI_REGISTRY_IMAGE/php-dev:8.3' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.3' | ||
| php-dev_8-3-alpine: | ||
| needs: | ||
| - php_8-3-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.3-alpine | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.3-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.3-alpine" >> Dockerfile_696f439790fa72.65000223 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790fa72.65000223 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4zLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjMtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MGZhNzIuNjUwMDAyMjMifQ== Dockerfile_696f439790fa72.65000223 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.3-alpine --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.3-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.3-alpine,webdevops/php-dev:8.3-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.3-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.3-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.3-alpine" >> Dockerfile_696f439790fc78.56787270' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790fc78.56787270' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC4zLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjMtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MGZjNzguNTY3ODcyNzAifQ== Dockerfile_696f439790fc78.56787270' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.3-alpine --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.3-alpine' | ||
| - 'docker tag webdevops/php-dev:8.3-alpine $CI_REGISTRY_IMAGE/php-dev:8.3-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.3-alpine' | ||
| php-dev_8-4: | ||
| needs: | ||
| - php_8-4 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.4 | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.4' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.4" >> Dockerfile_696f4397928a42.89057922 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397928a42.89057922 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC40IiwiRE9DS0VSX1RBRyI6IjguNCIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyOGE0Mi44OTA1NzkyMiJ9 Dockerfile_696f4397928a42.89057922 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.4 --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.4 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.4,webdevops/php-dev:8.4' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.4' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.4 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.4" >> Dockerfile_696f4397928b69.50344958' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397928b69.50344958' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC40IiwiRE9DS0VSX1RBRyI6IjguNCIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyOGI2OS41MDM0NDk1OCJ9 Dockerfile_696f4397928b69.50344958' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.4 --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.4' | ||
| - 'docker tag webdevops/php-dev:8.4 $CI_REGISTRY_IMAGE/php-dev:8.4' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.4' | ||
| php-dev_8-4-alpine: | ||
| needs: | ||
| - php_8-4-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.4-alpine | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.4-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.4-alpine" >> Dockerfile_696f439791cf23.65012701 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791cf23.65012701 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC40LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjQtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWNmMjMuNjUwMTI3MDEifQ== Dockerfile_696f439791cf23.65012701 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.4-alpine --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.4-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.4-alpine,webdevops/php-dev:8.4-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.4-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.4-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.4-alpine" >> Dockerfile_696f439791d0f0.21620453' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791d0f0.21620453' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC40LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjQtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWQwZjAuMjE2MjA0NTMifQ== Dockerfile_696f439791d0f0.21620453' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.4-alpine --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.4-alpine' | ||
| - 'docker tag webdevops/php-dev:8.4-alpine $CI_REGISTRY_IMAGE/php-dev:8.4-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.4-alpine' | ||
| php-dev_8-5: | ||
| needs: | ||
| - php_8-5 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.5 | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.5' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.5" >> Dockerfile_696f4397918404.68968999 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397918404.68968999 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC41IiwiRE9DS0VSX1RBRyI6IjguNSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxODQwNC42ODk2ODk5OSJ9 Dockerfile_696f4397918404.68968999 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.5 --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.5 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.5,webdevops/php-dev:8.5' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.5' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.5 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.5" >> Dockerfile_696f4397918654.26842632' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397918654.26842632' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC41IiwiRE9DS0VSX1RBRyI6IjguNSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxODY1NC4yNjg0MjYzMiJ9 Dockerfile_696f4397918654.26842632' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.5 --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.5' | ||
| - 'docker tag webdevops/php-dev:8.5 $CI_REGISTRY_IMAGE/php-dev:8.5' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.5' | ||
| php-dev_8-5-alpine: | ||
| needs: | ||
| - php_8-5-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.5-alpine | ||
| load: true | ||
| tags: 'webdevops/php-dev:8.5-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-dev:8.5-alpine" >> Dockerfile_696f439792d5f9.33788569 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792d5f9.33788569 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC41LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjUtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmQ1ZjkuMzM3ODg1NjkifQ== Dockerfile_696f439792d5f9.33788569 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-dev:8.5-alpine --config php-dev/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-dev/8.5-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-dev:8.5-alpine,webdevops/php-dev:8.5-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-dev/8.5-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-dev:8.5-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-dev:8.5-alpine" >> Dockerfile_696f439792d865.00168380' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792d865.00168380' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-dev_spec.rb webdevops/php-dev:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1kZXY6OC41LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjUtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmQ4NjUuMDAxNjgzODAifQ== Dockerfile_696f439792d865.00168380' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-dev:8.5-alpine --config php-dev/test.yaml' | ||
| - 'docker push webdevops/php-dev:8.5-alpine' | ||
| - 'docker tag webdevops/php-dev:8.5-alpine $CI_REGISTRY_IMAGE/php-dev:8.5-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-dev:8.5-alpine' | ||
| php-nginx-dev_8-1: | ||
| needs: | ||
| - php-nginx_8-1 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.1 | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.1' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.1" >> Dockerfile_696f439790d037.01854338 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790d037.01854338 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4xIiwiRE9DS0VSX1RBRyI6IjguMSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwZDAzNy4wMTg1NDMzOCJ9 Dockerfile_696f439790d037.01854338 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.1 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.1,webdevops/php-nginx-dev:8.1' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.1' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.1 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.1" >> Dockerfile_696f439790d113.61749348' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790d113.61749348' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4xIiwiRE9DS0VSX1RBRyI6IjguMSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwZDExMy42MTc0OTM0OCJ9 Dockerfile_696f439790d113.61749348' | ||
| - 'docker push webdevops/php-nginx-dev:8.1' | ||
| - 'docker tag webdevops/php-nginx-dev:8.1 $CI_REGISTRY_IMAGE/php-nginx-dev:8.1' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.1' | ||
| php-nginx-dev_8-1-alpine: | ||
| needs: | ||
| - php-nginx_8-1-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.1-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.1-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.1-alpine" >> Dockerfile_696f439792c366.03349920 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792c366.03349920 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4xLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjEtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmMzNjYuMDMzNDk5MjAifQ== Dockerfile_696f439792c366.03349920 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.1-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.1-alpine,webdevops/php-nginx-dev:8.1-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.1-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.1-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.1-alpine" >> Dockerfile_696f439792c444.57496871' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792c444.57496871' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4xLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjEtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmM0NDQuNTc0OTY4NzEifQ== Dockerfile_696f439792c444.57496871' | ||
| - 'docker push webdevops/php-nginx-dev:8.1-alpine' | ||
| - 'docker tag webdevops/php-nginx-dev:8.1-alpine $CI_REGISTRY_IMAGE/php-nginx-dev:8.1-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.1-alpine' | ||
| php-nginx-dev_8-2: | ||
| needs: | ||
| - php-nginx_8-2 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.2 | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.2' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.2" >> Dockerfile_696f4397924014.46572893 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397924014.46572893 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4yIiwiRE9DS0VSX1RBRyI6IjguMiIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyNDAxNC40NjU3Mjg5MyJ9 Dockerfile_696f4397924014.46572893 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.2 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.2,webdevops/php-nginx-dev:8.2' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.2' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.2 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.2" >> Dockerfile_696f4397924166.71790489' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397924166.71790489' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4yIiwiRE9DS0VSX1RBRyI6IjguMiIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyNDE2Ni43MTc5MDQ4OSJ9 Dockerfile_696f4397924166.71790489' | ||
| - 'docker push webdevops/php-nginx-dev:8.2' | ||
| - 'docker tag webdevops/php-nginx-dev:8.2 $CI_REGISTRY_IMAGE/php-nginx-dev:8.2' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.2' | ||
| php-nginx-dev_8-2-alpine: | ||
| needs: | ||
| - php-nginx_8-2-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.2-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.2-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.2-alpine" >> Dockerfile_696f439791bc94.70791228 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791bc94.70791228 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4yLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjItYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWJjOTQuNzA3OTEyMjgifQ== Dockerfile_696f439791bc94.70791228 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.2-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.2-alpine,webdevops/php-nginx-dev:8.2-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.2-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.2-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.2-alpine" >> Dockerfile_696f439791bdf6.66722862' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791bdf6.66722862' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4yLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjItYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWJkZjYuNjY3MjI4NjIifQ== Dockerfile_696f439791bdf6.66722862' | ||
| - 'docker push webdevops/php-nginx-dev:8.2-alpine' | ||
| - 'docker tag webdevops/php-nginx-dev:8.2-alpine $CI_REGISTRY_IMAGE/php-nginx-dev:8.2-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.2-alpine' | ||
| php-nginx-dev_8-3: | ||
| needs: | ||
| - php-nginx_8-3 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.3 | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.3' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.3" >> Dockerfile_696f4397930221.82085475 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397930221.82085475 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4zIiwiRE9DS0VSX1RBRyI6IjguMyIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzMDIyMS44MjA4NTQ3NSJ9 Dockerfile_696f4397930221.82085475 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.3 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.3,webdevops/php-nginx-dev:8.3' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.3' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.3 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.3" >> Dockerfile_696f43979302f5.02594022' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979302f5.02594022' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4zIiwiRE9DS0VSX1RBRyI6IjguMyIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzMDJmNS4wMjU5NDAyMiJ9 Dockerfile_696f43979302f5.02594022' | ||
| - 'docker push webdevops/php-nginx-dev:8.3' | ||
| - 'docker tag webdevops/php-nginx-dev:8.3 $CI_REGISTRY_IMAGE/php-nginx-dev:8.3' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.3' | ||
| php-nginx-dev_8-3-alpine: | ||
| needs: | ||
| - php-nginx_8-3-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.3-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.3-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.3-alpine" >> Dockerfile_696f4397910969.53014539 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397910969.53014539 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4zLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjMtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MTA5NjkuNTMwMTQ1MzkifQ== Dockerfile_696f4397910969.53014539 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.3-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.3-alpine,webdevops/php-nginx-dev:8.3-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.3-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.3-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.3-alpine" >> Dockerfile_696f4397910b02.27668535' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397910b02.27668535' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC4zLWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjMtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MTBiMDIuMjc2Njg1MzUifQ== Dockerfile_696f4397910b02.27668535' | ||
| - 'docker push webdevops/php-nginx-dev:8.3-alpine' | ||
| - 'docker tag webdevops/php-nginx-dev:8.3-alpine $CI_REGISTRY_IMAGE/php-nginx-dev:8.3-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.3-alpine' | ||
| php-nginx-dev_8-4: | ||
| needs: | ||
| - php-nginx_8-4 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.4 | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.4' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.4" >> Dockerfile_696f4397929393.22772854 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397929393.22772854 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC40IiwiRE9DS0VSX1RBRyI6IjguNCIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyOTM5My4yMjc3Mjg1NCJ9 Dockerfile_696f4397929393.22772854 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.4 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.4,webdevops/php-nginx-dev:8.4' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.4' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.4 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.4" >> Dockerfile_696f4397929494.47216686' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397929494.47216686' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC40IiwiRE9DS0VSX1RBRyI6IjguNCIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyOTQ5NC40NzIxNjY4NiJ9 Dockerfile_696f4397929494.47216686' | ||
| - 'docker push webdevops/php-nginx-dev:8.4' | ||
| - 'docker tag webdevops/php-nginx-dev:8.4 $CI_REGISTRY_IMAGE/php-nginx-dev:8.4' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.4' | ||
| php-nginx-dev_8-4-alpine: | ||
| needs: | ||
| - php-nginx_8-4-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.4-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.4-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.4-alpine" >> Dockerfile_696f439791d915.42917557 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791d915.42917557 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC40LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjQtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWQ5MTUuNDI5MTc1NTcifQ== Dockerfile_696f439791d915.42917557 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.4-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.4-alpine,webdevops/php-nginx-dev:8.4-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.4-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.4-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.4-alpine" >> Dockerfile_696f439791da37.03936065' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791da37.03936065' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC40LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjQtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MWRhMzcuMDM5MzYwNjUifQ== Dockerfile_696f439791da37.03936065' | ||
| - 'docker push webdevops/php-nginx-dev:8.4-alpine' | ||
| - 'docker tag webdevops/php-nginx-dev:8.4-alpine $CI_REGISTRY_IMAGE/php-nginx-dev:8.4-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.4-alpine' | ||
| php-nginx-dev_8-5: | ||
| needs: | ||
| - php-nginx_8-5 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.5 | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.5' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.5" >> Dockerfile_696f4397918d82.60710477 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397918d82.60710477 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC41IiwiRE9DS0VSX1RBRyI6IjguNSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxOGQ4Mi42MDcxMDQ3NyJ9 Dockerfile_696f4397918d82.60710477 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.5 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.5,webdevops/php-nginx-dev:8.5' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.5' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.5 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.5" >> Dockerfile_696f4397918e59.12706985' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397918e59.12706985' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC41IiwiRE9DS0VSX1RBRyI6IjguNSIsIk9TX0ZBTUlMWSI6ImRlYmlhbiIsIk9TX1ZFUlNJT04iOiIxMiIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxOGU1OS4xMjcwNjk4NSJ9 Dockerfile_696f4397918e59.12706985' | ||
| - 'docker push webdevops/php-nginx-dev:8.5' | ||
| - 'docker tag webdevops/php-nginx-dev:8.5 $CI_REGISTRY_IMAGE/php-nginx-dev:8.5' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.5' | ||
| php-nginx-dev_8-5-alpine: | ||
| needs: | ||
| - php-nginx_8-5-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.5-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx-dev:8.5-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx-dev:8.5-alpine" >> Dockerfile_696f439792e8c6.96684249 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792e8c6.96684249 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC41LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjUtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmU4YzYuOTY2ODQyNDkifQ== Dockerfile_696f439792e8c6.96684249 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx-dev/8.5-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx-dev:8.5-alpine,webdevops/php-nginx-dev:8.5-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx-dev/8.5-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx-dev:8.5-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx-dev:8.5-alpine" >> Dockerfile_696f439792ea42.05375048' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792ea42.05375048' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx-dev_spec.rb webdevops/php-nginx-dev:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueC1kZXY6OC41LWFscGluZSIsIkRPQ0tFUl9UQUciOiI4LjUtYWxwaW5lIiwiT1NfRkFNSUxZIjoiYWxwaW5lIiwiT1NfVkVSU0lPTiI6IjMiLCJQSFBfT0ZGSUNJQUwiOiIxIiwiRE9DS0VSRklMRSI6IkRvY2tlcmZpbGVfNjk2ZjQzOTc5MmVhNDIuMDUzNzUwNDgifQ== Dockerfile_696f439792ea42.05375048' | ||
| - 'docker push webdevops/php-nginx-dev:8.5-alpine' | ||
| - 'docker tag webdevops/php-nginx-dev:8.5-alpine $CI_REGISTRY_IMAGE/php-nginx-dev:8.5-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx-dev:8.5-alpine' | ||
| php-nginx_8-1: | ||
| needs: | ||
| - php_8-1 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.1 | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.1' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.1" >> Dockerfile_696f439790ccf5.69478025 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790ccf5.69478025 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjEiLCJET0NLRVJfVEFHIjoiOC4xIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTBjY2Y1LjY5NDc4MDI1In0= Dockerfile_696f439790ccf5.69478025 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.1 --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.1 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.1,webdevops/php-nginx:8.1' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.1' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.1 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.1" >> Dockerfile_696f439790cdf3.31284130' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790cdf3.31284130' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjEiLCJET0NLRVJfVEFHIjoiOC4xIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTBjZGYzLjMxMjg0MTMwIn0= Dockerfile_696f439790cdf3.31284130' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.1 --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.1' | ||
| - 'docker tag webdevops/php-nginx:8.1 $CI_REGISTRY_IMAGE/php-nginx:8.1' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.1' | ||
| php-nginx_8-1-alpine: | ||
| needs: | ||
| - php_8-1-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.1-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.1-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.1-alpine" >> Dockerfile_696f439792c0a8.31306326 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792c0a8.31306326 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjEtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyYzBhOC4zMTMwNjMyNiJ9 Dockerfile_696f439792c0a8.31306326 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.1-alpine --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.1-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.1-alpine,webdevops/php-nginx:8.1-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.1-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.1-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.1-alpine" >> Dockerfile_696f439792c1c1.19569655' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792c1c1.19569655' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjEtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyYzFjMS4xOTU2OTY1NSJ9 Dockerfile_696f439792c1c1.19569655' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.1-alpine --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.1-alpine' | ||
| - 'docker tag webdevops/php-nginx:8.1-alpine $CI_REGISTRY_IMAGE/php-nginx:8.1-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.1-alpine' | ||
| php-nginx_8-2: | ||
| needs: | ||
| - php_8-2 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.2 | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.2' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.2" >> Dockerfile_696f4397923a99.73276441 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397923a99.73276441 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjIiLCJET0NLRVJfVEFHIjoiOC4yIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTIzYTk5LjczMjc2NDQxIn0= Dockerfile_696f4397923a99.73276441 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.2 --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.2 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.2,webdevops/php-nginx:8.2' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.2' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.2 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.2" >> Dockerfile_696f4397923bd4.98752247' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397923bd4.98752247' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjIiLCJET0NLRVJfVEFHIjoiOC4yIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTIzYmQ0Ljk4NzUyMjQ3In0= Dockerfile_696f4397923bd4.98752247' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.2 --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.2' | ||
| - 'docker tag webdevops/php-nginx:8.2 $CI_REGISTRY_IMAGE/php-nginx:8.2' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.2' | ||
| php-nginx_8-2-alpine: | ||
| needs: | ||
| - php_8-2-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.2-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.2-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.2-alpine" >> Dockerfile_696f439791b744.85906697 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791b744.85906697 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjItYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMi1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxYjc0NC44NTkwNjY5NyJ9 Dockerfile_696f439791b744.85906697 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.2-alpine --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.2-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.2-alpine,webdevops/php-nginx:8.2-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.2-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.2-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.2-alpine" >> Dockerfile_696f439791b951.18133143' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791b951.18133143' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjItYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMi1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxYjk1MS4xODEzMzE0MyJ9 Dockerfile_696f439791b951.18133143' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.2-alpine --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.2-alpine' | ||
| - 'docker tag webdevops/php-nginx:8.2-alpine $CI_REGISTRY_IMAGE/php-nginx:8.2-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.2-alpine' | ||
| php-nginx_8-3: | ||
| needs: | ||
| - php_8-3 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.3 | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.3' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.3" >> Dockerfile_696f439792fdf6.34723229 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792fdf6.34723229 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjMiLCJET0NLRVJfVEFHIjoiOC4zIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJmZGY2LjM0NzIzMjI5In0= Dockerfile_696f439792fdf6.34723229 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.3 --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.3 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.3,webdevops/php-nginx:8.3' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.3' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.3 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.3" >> Dockerfile_696f439792ff28.43605359' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792ff28.43605359' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjMiLCJET0NLRVJfVEFHIjoiOC4zIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJmZjI4LjQzNjA1MzU5In0= Dockerfile_696f439792ff28.43605359' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.3 --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.3' | ||
| - 'docker tag webdevops/php-nginx:8.3 $CI_REGISTRY_IMAGE/php-nginx:8.3' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.3' | ||
| php-nginx_8-3-alpine: | ||
| needs: | ||
| - php_8-3-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.3-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.3-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.3-alpine" >> Dockerfile_696f4397910051.11820135 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397910051.11820135 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjMtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMy1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxMDA1MS4xMTgyMDEzNSJ9 Dockerfile_696f4397910051.11820135 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.3-alpine --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.3-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.3-alpine,webdevops/php-nginx:8.3-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.3-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.3-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.3-alpine" >> Dockerfile_696f43979101a9.05850559' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f43979101a9.05850559' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjMtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMy1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxMDFhOS4wNTg1MDU1OSJ9 Dockerfile_696f43979101a9.05850559' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.3-alpine --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.3-alpine' | ||
| - 'docker tag webdevops/php-nginx:8.3-alpine $CI_REGISTRY_IMAGE/php-nginx:8.3-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.3-alpine' | ||
| php-nginx_8-4: | ||
| needs: | ||
| - php_8-4 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.4 | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.4' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.4" >> Dockerfile_696f4397928ea3.37224771 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397928ea3.37224771 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjQiLCJET0NLRVJfVEFHIjoiOC40IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTI4ZWEzLjM3MjI0NzcxIn0= Dockerfile_696f4397928ea3.37224771 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.4 --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.4 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.4,webdevops/php-nginx:8.4' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.4' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.4 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.4" >> Dockerfile_696f4397928fd9.84192790' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397928fd9.84192790' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjQiLCJET0NLRVJfVEFHIjoiOC40IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTI4ZmQ5Ljg0MTkyNzkwIn0= Dockerfile_696f4397928fd9.84192790' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.4 --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.4' | ||
| - 'docker tag webdevops/php-nginx:8.4 $CI_REGISTRY_IMAGE/php-nginx:8.4' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.4' | ||
| php-nginx_8-4-alpine: | ||
| needs: | ||
| - php_8-4-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.4-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.4-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.4-alpine" >> Dockerfile_696f439791d424.68758480 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791d424.68758480 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjQtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNC1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxZDQyNC42ODc1ODQ4MCJ9 Dockerfile_696f439791d424.68758480 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.4-alpine --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.4-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.4-alpine,webdevops/php-nginx:8.4-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.4-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.4-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.4-alpine" >> Dockerfile_696f439791d556.74041959' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791d556.74041959' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjQtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNC1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxZDU1Ni43NDA0MTk1OSJ9 Dockerfile_696f439791d556.74041959' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.4-alpine --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.4-alpine' | ||
| - 'docker tag webdevops/php-nginx:8.4-alpine $CI_REGISTRY_IMAGE/php-nginx:8.4-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.4-alpine' | ||
| php-nginx_8-5: | ||
| needs: | ||
| - php_8-5 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.5 | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.5' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.5" >> Dockerfile_696f43979189b4.14116396 | ||
| echo "COPY conf/ /" >> Dockerfile_696f43979189b4.14116396 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjUiLCJET0NLRVJfVEFHIjoiOC41IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTE4OWI0LjE0MTE2Mzk2In0= Dockerfile_696f43979189b4.14116396 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.5 --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.5 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.5,webdevops/php-nginx:8.5' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.5' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.5 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.5" >> Dockerfile_696f4397918ab5.34018425' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397918ab5.34018425' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjUiLCJET0NLRVJfVEFHIjoiOC41IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTE4YWI1LjM0MDE4NDI1In0= Dockerfile_696f4397918ab5.34018425' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.5 --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.5' | ||
| - 'docker tag webdevops/php-nginx:8.5 $CI_REGISTRY_IMAGE/php-nginx:8.5' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.5' | ||
| php-nginx_8-5-alpine: | ||
| needs: | ||
| - php_8-5-alpine | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.5-alpine | ||
| load: true | ||
| tags: 'webdevops/php-nginx:8.5-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php-nginx:8.5-alpine" >> Dockerfile_696f439792e174.49141719 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792e174.49141719 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjUtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyZTE3NC40OTE0MTcxOSJ9 Dockerfile_696f439792e174.49141719 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.5-alpine --config php-nginx/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-nginx/8.5-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php-nginx:8.5-alpine,webdevops/php-nginx:8.5-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-nginx/8.5-alpine' | ||
| - 'docker build --no-cache -t webdevops/php-nginx:8.5-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php-nginx:8.5-alpine" >> Dockerfile_696f439792e382.96561598' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792e382.96561598' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php-nginx_spec.rb webdevops/php-nginx:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1uZ2lueDo4LjUtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyZTM4Mi45NjU2MTU5OCJ9 Dockerfile_696f439792e382.96561598' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php-nginx:8.5-alpine --config php-nginx/test.yaml' | ||
| - 'docker push webdevops/php-nginx:8.5-alpine' | ||
| - 'docker tag webdevops/php-nginx:8.5-alpine $CI_REGISTRY_IMAGE/php-nginx:8.5-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php-nginx:8.5-alpine' | ||
| php_8-1: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.1 | ||
| load: true | ||
| tags: 'webdevops/php:8.1' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.1" >> Dockerfile_696f439790c052.24145981 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790c052.24145981 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjEiLCJET0NLRVJfVEFHIjoiOC4xIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTBjMDUyLjI0MTQ1OTgxIn0= Dockerfile_696f439790c052.24145981 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.1 --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.1 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.1,webdevops/php:8.1' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.1' | ||
| - 'docker build --no-cache -t webdevops/php:8.1 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.1" >> Dockerfile_696f439790c278.19327669' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790c278.19327669' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.1 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjEiLCJET0NLRVJfVEFHIjoiOC4xIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTBjMjc4LjE5MzI3NjY5In0= Dockerfile_696f439790c278.19327669' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.1 --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.1' | ||
| - 'docker tag webdevops/php:8.1 $CI_REGISTRY_IMAGE/php:8.1' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.1' | ||
| - 'docker tag webdevops/php:8.1 webdevops/php-official:8.1' | ||
| - 'docker push webdevops/php-official:8.1' | ||
| php_8-1-alpine: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.1-alpine | ||
| load: true | ||
| tags: 'webdevops/php:8.1-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.1-alpine" >> Dockerfile_696f439792b2f3.29795810 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792b2f3.29795810 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjEtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyYjJmMy4yOTc5NTgxMCJ9 Dockerfile_696f439792b2f3.29795810 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.1-alpine --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.1-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.1-alpine,webdevops/php:8.1-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.1-alpine' | ||
| - 'docker build --no-cache -t webdevops/php:8.1-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.1-alpine" >> Dockerfile_696f439792b427.01829927' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792b427.01829927' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.1-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjEtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyYjQyNy4wMTgyOTkyNyJ9 Dockerfile_696f439792b427.01829927' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.1-alpine --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.1-alpine' | ||
| - 'docker tag webdevops/php:8.1-alpine $CI_REGISTRY_IMAGE/php:8.1-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.1-alpine' | ||
| - 'docker tag webdevops/php:8.1-alpine webdevops/php-official:8.1-alpine' | ||
| - 'docker push webdevops/php-official:8.1-alpine' | ||
| php_8-2: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.2 | ||
| load: true | ||
| tags: 'webdevops/php:8.2' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.2" >> Dockerfile_696f4397922e52.74223873 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397922e52.74223873 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjIiLCJET0NLRVJfVEFHIjoiOC4yIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTIyZTUyLjc0MjIzODczIn0= Dockerfile_696f4397922e52.74223873 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.2 --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.2 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.2,webdevops/php:8.2' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.2' | ||
| - 'docker build --no-cache -t webdevops/php:8.2 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.2" >> Dockerfile_696f4397922f20.37877451' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397922f20.37877451' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.2 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjIiLCJET0NLRVJfVEFHIjoiOC4yIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTIyZjIwLjM3ODc3NDUxIn0= Dockerfile_696f4397922f20.37877451' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.2 --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.2' | ||
| - 'docker tag webdevops/php:8.2 $CI_REGISTRY_IMAGE/php:8.2' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.2' | ||
| - 'docker tag webdevops/php:8.2 webdevops/php-official:8.2' | ||
| - 'docker push webdevops/php-official:8.2' | ||
| php_8-2-alpine: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.2-alpine | ||
| load: true | ||
| tags: 'webdevops/php:8.2-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.2-alpine" >> Dockerfile_696f439791a6c3.67830984 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791a6c3.67830984 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjItYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMi1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxYTZjMy42NzgzMDk4NCJ9 Dockerfile_696f439791a6c3.67830984 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.2-alpine --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.2-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.2-alpine,webdevops/php:8.2-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.2-alpine' | ||
| - 'docker build --no-cache -t webdevops/php:8.2-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.2-alpine" >> Dockerfile_696f439791a807.66778151' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791a807.66778151' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.2-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjItYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMi1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxYTgwNy42Njc3ODE1MSJ9 Dockerfile_696f439791a807.66778151' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.2-alpine --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.2-alpine' | ||
| - 'docker tag webdevops/php:8.2-alpine $CI_REGISTRY_IMAGE/php:8.2-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.2-alpine' | ||
| - 'docker tag webdevops/php:8.2-alpine webdevops/php-official:8.2-alpine' | ||
| - 'docker push webdevops/php-official:8.2-alpine' | ||
| php_8-3: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.3 | ||
| load: true | ||
| tags: 'webdevops/php:8.3' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.3" >> Dockerfile_696f439792ed55.78023009 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792ed55.78023009 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjMiLCJET0NLRVJfVEFHIjoiOC4zIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJlZDU1Ljc4MDIzMDA5In0= Dockerfile_696f439792ed55.78023009 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.3 --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.3 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.3,webdevops/php:8.3' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.3' | ||
| - 'docker build --no-cache -t webdevops/php:8.3 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.3" >> Dockerfile_696f439792eea4.16204215' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792eea4.16204215' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.3 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjMiLCJET0NLRVJfVEFHIjoiOC4zIiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTJlZWE0LjE2MjA0MjE1In0= Dockerfile_696f439792eea4.16204215' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.3 --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.3' | ||
| - 'docker tag webdevops/php:8.3 $CI_REGISTRY_IMAGE/php:8.3' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.3' | ||
| - 'docker tag webdevops/php:8.3 webdevops/php-official:8.3' | ||
| - 'docker push webdevops/php-official:8.3' | ||
| php_8-3-alpine: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.3-alpine | ||
| load: true | ||
| tags: 'webdevops/php:8.3-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.3-alpine" >> Dockerfile_696f439790ea78.53153921 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439790ea78.53153921 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjMtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMy1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwZWE3OC41MzE1MzkyMSJ9 Dockerfile_696f439790ea78.53153921 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.3-alpine --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.3-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.3-alpine,webdevops/php:8.3-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.3-alpine' | ||
| - 'docker build --no-cache -t webdevops/php:8.3-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.3-alpine" >> Dockerfile_696f439790edd9.17596202' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439790edd9.17596202' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.3-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjMtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguMy1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkwZWRkOS4xNzU5NjIwMiJ9 Dockerfile_696f439790edd9.17596202' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.3-alpine --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.3-alpine' | ||
| - 'docker tag webdevops/php:8.3-alpine $CI_REGISTRY_IMAGE/php:8.3-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.3-alpine' | ||
| - 'docker tag webdevops/php:8.3-alpine webdevops/php-official:8.3-alpine' | ||
| - 'docker push webdevops/php-official:8.3-alpine' | ||
| php_8-4: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.4 | ||
| load: true | ||
| tags: 'webdevops/php:8.4' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.4" >> Dockerfile_696f4397927dc5.75398855 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397927dc5.75398855 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjQiLCJET0NLRVJfVEFHIjoiOC40IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTI3ZGM1Ljc1Mzk4ODU1In0= Dockerfile_696f4397927dc5.75398855 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.4 --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.4 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.4,webdevops/php:8.4' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.4' | ||
| - 'docker build --no-cache -t webdevops/php:8.4 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.4" >> Dockerfile_696f4397927f14.47573504' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397927f14.47573504' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.4 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjQiLCJET0NLRVJfVEFHIjoiOC40IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTI3ZjE0LjQ3NTczNTA0In0= Dockerfile_696f4397927f14.47573504' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.4 --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.4' | ||
| - 'docker tag webdevops/php:8.4 $CI_REGISTRY_IMAGE/php:8.4' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.4' | ||
| - 'docker tag webdevops/php:8.4 webdevops/php-official:8.4' | ||
| - 'docker push webdevops/php-official:8.4' | ||
| php_8-4-alpine: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.4-alpine | ||
| load: true | ||
| tags: 'webdevops/php:8.4-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.4-alpine" >> Dockerfile_696f439791c192.41606689 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439791c192.41606689 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjQtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNC1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxYzE5Mi40MTYwNjY4OSJ9 Dockerfile_696f439791c192.41606689 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.4-alpine --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.4-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.4-alpine,webdevops/php:8.4-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.4-alpine' | ||
| - 'docker build --no-cache -t webdevops/php:8.4-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.4-alpine" >> Dockerfile_696f439791c2c2.03104887' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439791c2c2.03104887' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.4-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjQtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNC1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkxYzJjMi4wMzEwNDg4NyJ9 Dockerfile_696f439791c2c2.03104887' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.4-alpine --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.4-alpine' | ||
| - 'docker tag webdevops/php:8.4-alpine $CI_REGISTRY_IMAGE/php:8.4-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.4-alpine' | ||
| - 'docker tag webdevops/php:8.4-alpine webdevops/php-official:8.4-alpine' | ||
| - 'docker push webdevops/php-official:8.4-alpine' | ||
| php_8-5: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.5 | ||
| load: true | ||
| tags: 'webdevops/php:8.5' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.5" >> Dockerfile_696f4397917b48.76419842 | ||
| echo "COPY conf/ /" >> Dockerfile_696f4397917b48.76419842 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjUiLCJET0NLRVJfVEFHIjoiOC41IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTE3YjQ4Ljc2NDE5ODQyIn0= Dockerfile_696f4397917b48.76419842 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.5 --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.5 | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.5,webdevops/php:8.5' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.5' | ||
| - 'docker build --no-cache -t webdevops/php:8.5 .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.5" >> Dockerfile_696f4397917c23.84380182' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397917c23.84380182' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.5 eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjUiLCJET0NLRVJfVEFHIjoiOC41IiwiT1NfRkFNSUxZIjoiZGViaWFuIiwiT1NfVkVSU0lPTiI6IjEyIiwiUEhQX09GRklDSUFMIjoiMSIsIkRPQ0tFUkZJTEUiOiJEb2NrZXJmaWxlXzY5NmY0Mzk3OTE3YzIzLjg0MzgwMTgyIn0= Dockerfile_696f4397917c23.84380182' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.5 --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.5' | ||
| - 'docker tag webdevops/php:8.5 $CI_REGISTRY_IMAGE/php:8.5' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.5' | ||
| - 'docker tag webdevops/php:8.5 webdevops/php-official:8.5' | ||
| - 'docker push webdevops/php-official:8.5' | ||
| php_8-5-alpine: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.5-alpine | ||
| load: true | ||
| tags: 'webdevops/php:8.5-alpine' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/php:8.5-alpine" >> Dockerfile_696f439792c7a4.55259341 | ||
| echo "COPY conf/ /" >> Dockerfile_696f439792c7a4.55259341 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjUtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyYzdhNC41NTI1OTM0MSJ9 Dockerfile_696f439792c7a4.55259341 | ||
| - | ||
| name: 'run structure-test' | ||
| run: |- | ||
| cd tests/structure-test | ||
| /usr/local/bin/container-structure-test test --image webdevops/php:8.5-alpine --config php/test.yaml | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/php-official/8.5-alpine | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/php:8.5-alpine,webdevops/php:8.5-alpine' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/php-official/8.5-alpine' | ||
| - 'docker build --no-cache -t webdevops/php:8.5-alpine .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/php:8.5-alpine" >> Dockerfile_696f439792c912.38244851' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f439792c912.38244851' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/php_spec.rb webdevops/php:8.5-alpine eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3BocC1vZmZpY2lhbDo4LjUtYWxwaW5lIiwiRE9DS0VSX1RBRyI6IjguNS1hbHBpbmUiLCJPU19GQU1JTFkiOiJhbHBpbmUiLCJPU19WRVJTSU9OIjoiMyIsIlBIUF9PRkZJQ0lBTCI6IjEiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkyYzkxMi4zODI0NDg1MSJ9 Dockerfile_696f439792c912.38244851' | ||
| - 'cd tests/structure-test' | ||
| - '/usr/local/bin/container-structure-test test --image webdevops/php:8.5-alpine --config php/test.yaml' | ||
| - 'docker push webdevops/php:8.5-alpine' | ||
| - 'docker tag webdevops/php:8.5-alpine $CI_REGISTRY_IMAGE/php:8.5-alpine' | ||
| - 'docker push $CI_REGISTRY_IMAGE/php:8.5-alpine' | ||
| - 'docker tag webdevops/php:8.5-alpine webdevops/php-official:8.5-alpine' | ||
| - 'docker push webdevops/php-official:8.5-alpine' | ||
| storage_latest: | ||
| needs: | ||
| - toolbox_latest | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/storage/latest | ||
| load: true | ||
| tags: 'webdevops/storage:latest' | ||
| platforms: linux/amd64 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/storage/latest | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/storage:latest,webdevops/storage:latest' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/storage/latest' | ||
| - 'docker build --no-cache -t webdevops/storage:latest .' | ||
| - 'docker push webdevops/storage:latest' | ||
| - 'docker tag webdevops/storage:latest $CI_REGISTRY_IMAGE/storage:latest' | ||
| - 'docker push $CI_REGISTRY_IMAGE/storage:latest' | ||
| toolbox_latest: | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/toolbox/latest | ||
| load: true | ||
| tags: 'webdevops/toolbox:latest' | ||
| platforms: linux/amd64 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/toolbox/latest | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/toolbox:latest,webdevops/toolbox:latest' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/toolbox/latest' | ||
| - 'docker build --no-cache -t webdevops/toolbox:latest .' | ||
| - 'docker push webdevops/toolbox:latest' | ||
| - 'docker tag webdevops/toolbox:latest $CI_REGISTRY_IMAGE/toolbox:latest' | ||
| - 'docker push $CI_REGISTRY_IMAGE/toolbox:latest' | ||
| vsftp_latest: | ||
| needs: | ||
| - base_ubuntu-22-04 | ||
| runs-on: ubuntu-latest | ||
| container: webdevops/dockerfile-build-env | ||
| steps: | ||
| - | ||
| uses: actions/checkout@v4 | ||
| - | ||
| uses: docker/setup-qemu-action@v3 | ||
| - | ||
| uses: docker/setup-buildx-action@v3 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to ghcr.io' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: '${{ github.actor }}' | ||
| password: '${{ secrets.GITHUB_TOKEN }}' | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Login to hub.docker.com' | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: '${{ secrets.DOCKERHUB_USERNAME }}' | ||
| password: '${{ secrets.DOCKERHUB_TOKEN }}' | ||
| - | ||
| name: 'Build x64' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/vsftp/latest | ||
| load: true | ||
| tags: 'webdevops/vsftp:latest' | ||
| platforms: linux/amd64 | ||
| - | ||
| name: 'run serverspec' | ||
| run: |- | ||
| cd tests/serverspec | ||
| echo "FROM webdevops/vsftp:latest" >> Dockerfile_696f43979339c0.01246524 | ||
| echo "COPY conf/ /" >> Dockerfile_696f43979339c0.01246524 | ||
| bundle install | ||
| bash serverspec.sh spec/docker/vsftp_spec.rb webdevops/vsftp:latest eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3ZzZnRwOmxhdGVzdCIsIkRPQ0tFUl9UQUciOiJsYXRlc3QiLCJPU19GQU1JTFkiOiJ1YnVudHUiLCJPU19WRVJTSU9OIjoiMjIuMDQiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzMzljMC4wMTI0NjUyNCJ9 Dockerfile_696f43979339c0.01246524 | ||
| - | ||
| if: "github.ref == 'refs/heads/github-actions'" | ||
| name: 'Build ARM + Push' | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: docker/vsftp/latest | ||
| push: true | ||
| tags: 'ghcr.io/webdevops/vsftp:latest,webdevops/vsftp:latest' | ||
| platforms: 'linux/amd64,linux/arm64' | ||
| script: | ||
| - 'cd docker/vsftp/latest' | ||
| - 'docker build --no-cache -t webdevops/vsftp:latest .' | ||
| - 'cd tests/serverspec' | ||
| - 'echo "FROM webdevops/vsftp:latest" >> Dockerfile_696f4397933ad7.58375250' | ||
| - 'echo "COPY conf/ /" >> Dockerfile_696f4397933ad7.58375250' | ||
| - 'bundle install' | ||
| - 'bash serverspec.sh spec/docker/vsftp_spec.rb webdevops/vsftp:latest eyJET0NLRVJfSU1BR0UiOiJ3ZWJkZXZvcHNcL3ZzZnRwOmxhdGVzdCIsIkRPQ0tFUl9UQUciOiJsYXRlc3QiLCJPU19GQU1JTFkiOiJ1YnVudHUiLCJPU19WRVJTSU9OIjoiMjIuMDQiLCJET0NLRVJGSUxFIjoiRG9ja2VyZmlsZV82OTZmNDM5NzkzM2FkNy41ODM3NTI1MCJ9 Dockerfile_696f4397933ad7.58375250' | ||
| - 'docker push webdevops/vsftp:latest' | ||
| - 'docker tag webdevops/vsftp:latest $CI_REGISTRY_IMAGE/vsftp:latest' | ||
| - 'docker push $CI_REGISTRY_IMAGE/vsftp:latest' | ||