mirror of https://github.com/craigerl/aprsd.git
Added container build action
This commit is contained in:
parent
4c7c90b947
commit
b50f343440
|
@ -1,4 +1,4 @@
|
||||||
name: python
|
name: Test and Build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
@ -20,3 +20,12 @@ jobs:
|
||||||
pip install tox tox-gh-actions
|
pip install tox tox-gh-actions
|
||||||
- name: Test with tox
|
- name: Test with tox
|
||||||
run: tox
|
run: tox
|
||||||
|
|
||||||
|
build:
|
||||||
|
needs: tox
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build the Docker image
|
||||||
|
working-directory: ./docker
|
||||||
|
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
||||||
|
|
Loading…
Reference in New Issue