Skip to content

Commit

Permalink
workflow for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mskian committed Sep 22, 2023
1 parent a51cf09 commit 5457c23
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: docker-image

on: [push, pull_request]

jobs:
test:
name: Run tests
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/[email protected]
- name: Build Docker image
run: docker build . -t="gtfy-listener"
- name: Remove test build image
run: docker rmi $(docker image ls -q)
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ docker docker rmi (imageid)
docker image prune
docker builder prune --all -f
docker system prune --all
docker rm $(docker ps -all -q)
docker rmi $(docker image ls -q)
```

## Inspiration

Pushtify (Gotify to Pushover forwarder) - <https://github.com/sebw/pushtify/tree/main>
Pushtify (Gotify to Pushover forwarder) - <https://github.com/sebw/pushtify>

## LICENSE

Expand Down

0 comments on commit 5457c23

Please sign in to comment.