Skip to content

Commit

Permalink
feat: some ci testing
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslavirha committed Jan 3, 2024
1 parent b1bf8b0 commit a2bbf46
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .act/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ https://github.com/nektos/act#configuration

Simulate release workflow

from root dir run `act -j release-please -s GITHUB_TOKEN -e .act/pr.json`
from root dir run

```sh
act -j release-please -s GITHUB_TOKEN=token -e .act/pr.json --container-architecture linux/amd64
act -j build-docker -s GITHUB_TOKEN=token -e .act/build.json --container-architecture linux/amd64
```
6 changes: 6 additions & 0 deletions .act/build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"action": "workflow_call",
"inputs": {
"tag": "0.9.0"
}
}
3 changes: 2 additions & 1 deletion infra/docker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"docker:build": "docker compose -f docker-compose.hikers-book.build.yml build"
"docker:build": "docker compose -f docker-compose.hikers-book.build.yml build",
"docker:build:plain": "docker compose -f docker-compose.hikers-book.build.yml build --progress=plain"
}
}

0 comments on commit a2bbf46

Please sign in to comment.