Skip to content

Commit

Permalink
move to 3.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou authored Jun 12, 2023
1 parent 6fa66df commit 506ff10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ RUN mkdir dependency

# Creating executable
RUN /bin/sh -c "echo \"#!/bin/sh\" > /verveinej-docker.sh"
RUN /bin/sh -c "echo \"/VerveineJ-3.0.11/verveinej.sh $* -autocp /dependency .\" >> /verveinej-docker.sh"
RUN /bin/sh -c "echo \"/VerveineJ-3.0.12/verveinej.sh $* -autocp /dependency .\" >> /verveinej-docker.sh"
RUN chmod +x /verveinej-docker.sh

# Download VerveineJ
RUN wget -r https://github.com/moosetechnology/VerveineJ/archive/refs/tags/v3.0.11.tar.gz -O verveine.tar.gz
RUN wget -r https://github.com/moosetechnology/VerveineJ/archive/refs/tags/v3.0.12.tar.gz -O verveine.tar.gz
RUN tar -xvf verveine.tar.gz

WORKDIR /src
Expand Down
11 changes: 5 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ docker run --rm -v "/mnt/d/Developpement/git/evol-critics:/src" ghcr.io/evref-bl
parse:
stage: parse
image:
name: ghcr.io/evref-bl/verveinej:v3.0.11
name: ghcr.io/evref-bl/verveinej:v3.0.12
entrypoint: [""]
needs:
script:
- /VerveineJ-3.0.11/verveinej.sh -format json -o model.json -alllocals -anchor assoc -autocp ./repo ./src
- /VerveineJ-3.0.12/verveinej.sh -format json -o model.json -alllocals -anchor assoc -autocp ./repo ./src
artifacts:
paths:
- model.json
Expand All @@ -62,7 +62,7 @@ parse:
## GitHub example
Use the VerveineJ docker image in a GitHub action (example for version `v3.0.11`)
Use the VerveineJ docker image in a GitHub action (example for version `v3.0.12`)

```yml
name: My CI
Expand All @@ -86,11 +86,10 @@ jobs:
- uses: addnab/docker-run-action@v3
with:
registry: ghcr.io
image: ghcr.io/evref-bl/verveinej:v3.0.11
image: ghcr.io/evref-bl/verveinej:v3.0.12
options: -v ${{ github.workspace }}:/src
run: |
cd tests
/VerveineJ-3.0.11/verveinej.sh -format json -o output.json -alllocals -anchor assoc .
/VerveineJ-3.0.12/verveinej.sh -format json -o output.json -alllocals -anchor assoc .
cd ..
```

0 comments on commit 506ff10

Please sign in to comment.