Skip to content

Commit

Permalink
Merge pull request #385 from bheesham/update-readme-with-container-pl…
Browse files Browse the repository at this point in the history
…atform

build Node 14 doesn't run natively on Apple Silicon
  • Loading branch information
bheesham authored Dec 12, 2024
2 parents e674845 + 5207926 commit 6affaf5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,20 @@ to rebuild.

If you do need to deploy manually (as is currently required for production), you can install
[act](https://github.com/nektos/act) on a local machine, and run:
`act --secret-file config/secrets -j dev-build-and-deploy` or
`act --secret-file config/secrets -j prod-build-and-deploy`.

```
# Development:
act --secret-file config/secrets -j dev-build-and-deploy
# Production
act --secret-file config/secrets -j prod-build-and-deploy
```

Note that to run `act`, you may need to add the following to your `~/.actrc` for the build to properly function:
`-P ubuntu-latest=nektos/act-environments-ubuntu:18.04`.
```
-P ubuntu-latest=nektos/act-environments-ubuntu:18.04
--container-architecture linux/amd64
```

You'll also need to set your secrets file to contain the following environmental variables:

Expand Down

0 comments on commit 6affaf5

Please sign in to comment.