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 c00850f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ 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

Expand All @@ -56,9 +56,11 @@ jobs:
registry: 'docker.io'
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- 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 c00850f

Please sign in to comment.