mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-01 13:45:06 -04:00
Added container build action
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: python
|
||||
name: Test and Build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
@@ -20,3 +20,12 @@ jobs:
|
||||
pip install tox tox-gh-actions
|
||||
- name: Test with 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)
|
||||
|
||||
Reference in New Issue
Block a user