Skip to content

Commit

Permalink
update image to 4.1, smaller image, gem upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
jbielick committed Jan 9, 2023
1 parent df5aea7 commit 33c4fcc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name=adwerx/pronto-ruby

image:
docker build -f Dockerfile . -t ${name}:${TAG} -t ${name}:latest
docker buildx build --platform linux/amd64,linux/arm64 -t ${name}:${TAG} -o type=registry .

test: spec/fixtures/test.git
docker run -v "${CURDIR}:/runner" --workdir /runner --entrypoint /runner/dev_entrypoint.sh --rm ${name}:latest rspec
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ The docker image of this Action includes the following [Pronto Runners](https://

# Inputs

| name | description | default |
| --- | --- | --- |
| `runners` | Space-separated list of pronto runners to run. Must be the preinstalled runners from the list above. | `rubocop` |
| `target` | The git target pronto will diff against (`-c`) | `origin/master` |
| name | description | default |
| --------- | ---------------------------------------------------------------------------------------------------- | --------------- |
| `runners` | Space-separated list of pronto runners to run. Must be the preinstalled runners from the list above. | `rubocop` |
| `target` | The git target pronto will diff against (`-c`) | `origin/master` |

# Secrets

Expand All @@ -39,9 +39,9 @@ A GitHub token is available by default when using actions, but you must include
Be sure to include the ENV variable in your job step:

```yaml
- uses: adwerx/pronto-ruby
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: adwerx/pronto-ruby
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
That's it!
Expand All @@ -67,7 +67,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: git fetch origin master --depth=1
- uses: adwerx/pronto-ruby@v4.0
- uses: adwerx/pronto-ruby@main # use a tag version here
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -94,7 +94,7 @@ name: Pronto
- run: git fetch origin master --depth=1
- uses: actions/setup-node@v1
- run: yarn install --ignore-optional --ignore-scripts --frozen-lockfile --non-interactive
- uses: adwerx/pronto-ruby@v2.8
- uses: adwerx/pronto-ruby@main # use a tag version here
with:
runners: eslint_npm # ...
env:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ inputs:
origin/master
runs:
using: docker
image: "docker://docker.io/adwerx/pronto-ruby:4.0"
image: "docker://docker.io/adwerx/pronto-ruby:4.1"
args:
- run
- -r
Expand Down

0 comments on commit 33c4fcc

Please sign in to comment.