Skip to content

Commit

Permalink
test workflow image latest
Browse files Browse the repository at this point in the history
  • Loading branch information
NFTDefects committed Jan 28, 2024
1 parent 4e816fb commit 0972495
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
branches: ["release"]
branches:
- "release"
- "releases/**"
- "v*"
tags:
- v*

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
Expand Down Expand Up @@ -43,5 +48,4 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ github.actor }}/${{ github.repository }}:latest
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,10 @@ It would take minutes to show the result in the console, and there will be a jso
![output](./images/processing.png)
_Result_
![output](./images/output.png) -->
<div style="display: flex; justify-content: space-between;">
<div style="flex: 1; text-align: center;">
<p><em>Processing</em></p>
<img src="./images/processing.png" alt="Processing">
</div>
<div style="flex: 1; text-align: center;">
<p><em>Result</em></p>
<img src="./images/output.png" alt="Result">
</div>

<div style="display: flex; justify-content: space-around; align-items: center;">
<img src="./images/processing.png" alt="Processing" style="width: 50%;" />
<img src="./images/output.png" alt="Result" style="width: 50%;" />
</div>

### Docker
Expand All @@ -121,7 +116,9 @@ docker run -v test:/NFTGuard/test nftguard:v0.1 -s test/demo.sol -cnames token -

The design refers to the architecture shown below:

<img src="./images/arch.png" alt="arch" style="zoom: 30%;" />
<div align="center">
<img src="./images/arch.png" alt="arch" style="zoom: 30%" />
</div>

- `inputter`: **_Inputter_** module for compiling the source code of Solidity smart contracts and extracting useful information for further analysis before symbolic execution.
- `cfg_builder`: **_CFG Builder_** module for analysis, including essential data structures, and symbolic execution of evm opcodes.
Expand Down
Binary file modified images/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/processing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0972495

Please sign in to comment.