-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marc Dumais <[email protected]>
- Loading branch information
1 parent
c15a308
commit bbf9977
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: docker-example | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
|
||
build-and-test: | ||
name: Build image | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 15 | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Build example-docker | ||
run: | | ||
cd examples/docker | ||
docker build -t tte . | ||
- name: Test | ||
run: | | ||
docker run --init -d -p 0.0.0.0:4000:4000 --name tte-1 tte | ||
# ln -s example-package.json package.json | ||
# yarn test:docker | ||
sleep 20 | ||
wget https://localhost:4000 |
This file contains 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