Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Oct 30, 2024
1 parent 95fc254 commit b8fbe68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,16 @@ jobs:
fi
fi
echo "tag=$TAG" >> $GITHUB_OUTPUT
DRUPAL_MAJOR_MINOR=$(echo "${{ matrix.drupal-version }}" | cut -d. -f1 -f2)
DRUPAL_MAJOR_MINOR=$(echo "${{ matrix.drupal-version }}" | cut -d. -f1,2)
echo "drupal_version=$DRUPAL_MAJOR_MINOR" >> $GITHUB_OUTPUT
id: extract_tag

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Docker Hub Login
uses: docker/login-action@v3
with:
Expand All @@ -58,7 +64,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push dockerhub
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: |
linux/amd64
Expand Down
1 change: 1 addition & 0 deletions scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ drush rs --quiet 127.0.0.1:8282 &
until curl -s http://127.0.0.1:8282/; do true; done > /dev/null

echo "Running phpunit"
cp "$PHPUNIT_FILE" web/core/phpunit.xml
cd "$DRUPAL_DIR/web/core"
"$DRUPAL_DIR"/vendor/bin/phpunit --debug

0 comments on commit b8fbe68

Please sign in to comment.