diff --git a/.github/workflows/build-push-test-docker-image.yml b/.github/workflows/build-push-test-docker-image.yml index 03ac1a0..b623a17 100644 --- a/.github/workflows/build-push-test-docker-image.yml +++ b/.github/workflows/build-push-test-docker-image.yml @@ -1,9 +1,6 @@ name: build-push-test-docker-image on: - push: - branches: - - feature/behat_tests workflow_dispatch: jobs: @@ -13,16 +10,16 @@ jobs: packages: write steps: - name: Checkout - uses: actions/checkout@v3 - + uses: actions/checkout@v4 + - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -43,7 +40,7 @@ jobs: type=raw,suffix=,value=test - name: Build and push the TEST image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: stepup/tests/Dockerfile diff --git a/stepup/tests/Dockerfile b/stepup/tests/Dockerfile index f56b417..e4a8ca2 100644 --- a/stepup/tests/Dockerfile +++ b/stepup/tests/Dockerfile @@ -2,4 +2,3 @@ FROM ghcr.io/openconext/openconext-basecontainers/php72-apache2-node16-composer2 RUN apt-get update && \ apt-get install -y docker.io mariadb-client WORKDIR /config/tests/behat -RUN mkdir /var/www/html/public