Use build action for tests.

This commit is contained in:
FireMasterK 2022-02-22 09:07:01 +00:00
parent 26cd7f6eee
commit 9b6d8c4ae5
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -21,7 +21,11 @@ jobs:
- name: Create Version File
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
- 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
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 5
- name: Run tests