diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4e30739..38de195 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,25 +1,24 @@ name: Release Binaries - on: push: tags: - 'v*' +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Go uses: actions/setup-go@v4 with: go-version-file: 'go.mod' - - name: Build for Linux (amd64) run: | GOOS=linux GOARCH=amd64 go build -o dockermon-linux-amd64 - - name: Create Release id: create_release uses: softprops/action-gh-release@v1 @@ -27,4 +26,4 @@ jobs: files: | dockermon-linux-amd64 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/TODO.md b/TODO.md index 42efc8a..a7e773f 100644 --- a/TODO.md +++ b/TODO.md @@ -8,8 +8,9 @@ - [x] Better error reporting - [x] Build docker event filter - [x] Resilience on events listening fail -- [ ] Add more tests -- [ ] CI/CD Pipeline, no push on main (tests, fmt and static analysis) +- [x] Add more tests +- [x] CI/CD Pipeline, no push on main (tests, fmt and static analysis) - [ ] One file installer + - [ ] Event Type wildcard - [ ] Windows compatibility \ No newline at end of file