Skip to content

Commit

Permalink
Merge pull request #18 from RoseSecurity/update-demos-and-docs
Browse files Browse the repository at this point in the history
Update Docs and Add Docker Build Workflow
  • Loading branch information
RoseSecurity authored Jul 5, 2024
2 parents f563d1e + 473a147 commit 822d51a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false

jobs:
build:
name: "Build CLI and attach to GitHub release"
Expand Down Expand Up @@ -34,3 +38,25 @@ jobs:
args: release --parallelism 2 --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: rosesecurity/terramaid:latest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Terramaid transforms your Terraform resources and plans into visually appealing
If you have a functional go environment, you can install with:

```sh
go install github.com/rosesecurity/terramaid/v1@latest
go install github.com/RoseSecurity/terramaid@latest
```

Build from source:
Expand Down

0 comments on commit 822d51a

Please sign in to comment.