Skip to content

Commit

Permalink
Update README.md to add github actions result badges
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeDTomita committed Jan 30, 2024
1 parent 8101615 commit 9c20a83
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# DevSecOps demo React application for AWS ECS on Fargate
[![jest](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-jest.yaml/badge.svg)](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-jest.yaml)
[![Semgrep](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-semgrep.yaml/badge.svg)](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-semgrep.yaml)
[![trivy-dependency-check](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-dependency-check.yaml/badge.svg)](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-dependency-check.yaml)

## INDEX

Expand Down
Binary file added doc/fig/badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions doc/github-actions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# GitHub Actions 関連
> [!NOTE]
> 個々のツールのGitHub Actionsの実行方法はツールごとのドキュメント参照。
## READMEにバッチをつける

- リポジトリのActionsのページから**Create status badge**をクリックしてREADME.mdに貼り付ける。

![バッチのつけかた](./fig/badge.png)
******


## 特定のコミットを使ってactionsを実行する。

```yaml
actions/setup-python@コミットハッシュ
```
2 changes: 1 addition & 1 deletion docker_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Author: Ryosuke Tomita
# Date: 2023/12/06
##########################################################################
docker rmi react-app:latest -f
#docker rmi react-app:latest -f
#docker build -t react-app:latest . --no-cache
#docker run -p 80:8080 react-app:latest # -p localport:containerport
docker compose up
Expand Down

0 comments on commit 9c20a83

Please sign in to comment.