ci: publish docker image to ghcr

This commit is contained in:
2023-08-27 23:07:20 +03:00
parent 969352d842
commit 74209acc21
6 changed files with 68 additions and 59 deletions

24
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run-tests:
runs-on: ubuntu-latest
container:
image: archlinux:latest
volumes:
- ${{ github.workspace }}:/build
options: -w /build
steps:
- uses: actions/checkout@v3
- name: Run check and tests in arch linux container
run: .github/workflows/tests.sh