mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Use build action for tests.
This commit is contained in:
parent
26cd7f6eee
commit
9b6d8c4ae5
1 changed files with 5 additions and 1 deletions
6
.github/workflows/docker-build-test.yml
vendored
6
.github/workflows/docker-build-test.yml
vendored
|
@ -21,7 +21,11 @@ jobs:
|
||||||
- name: Create Version File
|
- name: Create Version File
|
||||||
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
|
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
|
||||||
- name: Build Locally
|
- name: Build Locally
|
||||||
run: docker build . -t 1337kavin/piped:latest
|
uses: docker/build-push-action@v2.9.0
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
load: true
|
||||||
|
tags: 1337kavin/piped:latest
|
||||||
- name: Start Docker-Compose services
|
- name: Start Docker-Compose services
|
||||||
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 5
|
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 5
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue