Skip to content

Commit 08ad26c

Browse files
committed
Test Docker build and run on all changes
1 parent ee21361 commit 08ad26c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/3x.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ jobs:
4949
path: terminus.phar
5050
if-no-files-found: error
5151

52+
build_docker_image:
53+
runs-on: ubuntu-latest
54+
name: Build Docker image
55+
steps:
56+
- name: Checkout
57+
uses: actions/checkout@v3
58+
- name: Build Docker image
59+
run: docker build . -t terminus
60+
- name: Run built Docker image
61+
run: docker run terminus art
62+
5263
functional:
5364
runs-on: ${{ matrix.operating-system }}
5465
name: Functional testing matrix - PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ sudo ln -s ~/terminus/terminus /usr/local/bin/terminus
8080
Terminus can also be built and run as a Docker container, rather than relying on system version of PHP and other dependencies.
8181

8282
```bash
83-
docker build . -f Dockerfile -t terminus
83+
docker build . -t terminus
8484
```
8585

8686
In order to store configuration and install plugins, Terminus requires a persistent data directory. If you only plan to run Terminus via Docker, please run the following command to create a Docker data volume:

0 commit comments

Comments
 (0)