Skip to content

Commit

Permalink
Merge pull request #39 from elopez/dev
Browse files Browse the repository at this point in the history
Configure scheduled builds
  • Loading branch information
elopez authored Nov 1, 2023
2 parents 31636b0 + 64a9639 commit f2ebb01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
tags:
- "*"
schedule:
- cron: "0 19 * * 3"
# Mondays 4AM UTC
- cron: "0 4 * * 1"
#- cron: "0 4 * * 1"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
name=trailofbits/eth-security-toolbox,enable=${{ github.repository == 'trailofbits/eth-security-toolbox' }}
tags: |
type=schedule
type=schedule,pattern={{date 'YYYYMMDD'}}
type=schedule,pattern=nightly-{{date 'YYYYMMDD'}}
type=ref,event=tag
type=ref,event=branch,prefix=testing-
type=edge
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ RUN curl -fsSL https://raw.githubusercontent.com/foundry-rs/foundry/ded0317584bd
foundryup && \
COMPLETIONS="${XDG_DATA_HOME:-$HOME/.local/share}/bash-completion/completions" && \
mkdir -p "${COMPLETIONS}" && \
for tool in anvil cast chisel forge; do \
for tool in anvil cast forge; do \
"$tool" completions bash > "${COMPLETIONS}/$tool"; \
done

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Other useful tools developed by third-parties are also included:
Use our prebuilt Docker container to quickly install and run the toolkit:

```shell
docker pull ghcr.io/trailofbits/eth-security-toolbox
docker run -it ghcr.io/trailofbits/eth-security-toolbox
docker pull ghcr.io/trailofbits/eth-security-toolbox:nightly
docker run -it ghcr.io/trailofbits/eth-security-toolbox:nightly
```

Alternatively, build the image from scratch:
Expand All @@ -39,7 +39,7 @@ docker build -t eth-security-toolbox .
Simply start an instance of the Docker container:

```shell
docker run -it ghcr.io/trailofbits/eth-security-toolbox
docker run -it ghcr.io/trailofbits/eth-security-toolbox:nightly
```

Several Solidity versions are preinstalled via `solc-select`. By default, `solc`
Expand Down Expand Up @@ -75,7 +75,7 @@ solc, the solidity compiler commandline interface
Version: 0.8.0+commit.c7dfd78e.Linux.g++
```

The toolbox comes preinstalled with a LTS version of NodeJS, and
The toolbox comes preinstalled with a LTS version of Node, and
[n](https://github.com/tj/n), the Node version manager. You can install other
versions of Node if needed by using `n`. Refer to their website for further
instructions.
Expand Down

0 comments on commit f2ebb01

Please sign in to comment.