Skip to content

Commit 92be6af

Browse files
author
Kevin Buchholz
committed
use github actions for testing the container
see #59
1 parent 1d83951 commit 92be6af

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

.github/workflows/testImageBuild.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,5 @@ jobs:
1010
name: Checkout
1111
uses: actions/checkout@v2
1212
-
13-
name: Set up QEMU
14-
uses: docker/setup-qemu-action@v1
15-
-
16-
name: Set up Docker Buildx
17-
uses: docker/setup-buildx-action@v1
18-
-
19-
name: Build and push
20-
uses: docker/build-push-action@v2
21-
with:
22-
context: .
23-
platforms: linux/amd64
24-
push: false
25-
tags: |
26-
sourceboat/docker-laravel:test
13+
name: Run tests
14+
run: docker-compose -f docker-compose.test.yml run test

docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: '3.7'
22
services:
3-
sut:
3+
test:
44
build: .
55
command: /root/test/test-command.sh
66
environment:

0 commit comments

Comments
 (0)