Skip to content

Commit 23875bf

Browse files
committed
bump to 2.4.1 image
1 parent b222694 commit 23875bf

File tree

5 files changed

+14
-22
lines changed

5 files changed

+14
-22
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.4.1 | 2020-3-23
2+
---
3+
4+
* Adds pronto-rails_data_schema runner (#11)
5+
16
2.3.0 | 2019-12-31
27
---
38

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ See the `Makefile` for more information.
1010

1111
# Base image
1212

13-
The ruby and pronto installation is done in the `Dockerfile.base` container image. Thus, pronto and runners are portable and can be run easily locally or otherwise. The code and formatter for the GitHub Action itself are added in a subsequent container image, built by `Dockerfile`. This container image is built during the GitHub action run. That way, the large, base image can be downloaded and only the small modifications in this Action can be layered on top. This results in a faster GitHub Action run.
13+
The ruby and pronto installation is done in the `Dockerfile` container image. Thus, pronto and runners are portable and can be run easily locally or otherwise. The code and formatter for the GitHub Action itself are added to the container image.
1414

15-
To make modifications to the linux environment (tooling) or installed runners in this image, please do so in `Dockerfile.base`. After making modifications, a tag of `base-vX.X.X` should be created to trigger a dockerhub build.
15+
After making modifications, a tag of `image-vX.X.X` should be created to trigger a dockerhub build.
1616

17-
Once the new base image is built and available in dockerhub, the `FROM` line in `Dockerfile` can be updated to point to it.
17+
Once the new image is built and available in dockerhub, the image tag in `action.yml` should be updated to point to it.
1818

1919
Finally, create a release through GitHub's UI with a version bump and include CHANGELOG details in the release description.
2020

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ test: spec/fixtures/test.git
99
spec/fixtures/test.git:
1010
tar -zxf spec/fixtures/test.git.tar.gz
1111

12-
tag: image
13-
docker tag ${name} ${name}:${TAG}
14-
docker tag ${name} ${name}:latest
12+
# tag: image
13+
# docker tag ${name} ${name}:${TAG}
1514

16-
push: tag
15+
push: image
1716
docker push ${name}:${TAG}
1817

1918
console: spec/fixtures/test.git

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565
steps:
6666
- uses: actions/checkout@v1
67-
- uses: adwerx/pronto-ruby@v2.2.0
67+
- uses: adwerx/pronto-ruby@v2.4
6868
env:
6969
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070
@@ -74,19 +74,7 @@ With specific runners:
7474

7575
```yaml
7676
name: Pronto
77-
78-
on:
79-
- push
80-
- pull_request
81-
82-
jobs:
83-
run:
84-
runs-on: ubuntu-latest
85-
steps:
86-
- uses: actions/checkout@v1
87-
- uses: adwerx/pronto-ruby@2.2.0
88-
env:
89-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
# ...
9078
with:
9179
runners: >-
9280
rubocop rails_schema yamllint

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
origin/master
2424
runs:
2525
using: docker
26-
image: "docker://docker.io/adwerx/pronto-ruby:2.3.1"
26+
image: "docker://docker.io/adwerx/pronto-ruby:2.4.1"
2727
args:
2828
- run
2929
- -r

0 commit comments

Comments
 (0)