Skip to content

Commit

Permalink
Merge pull request #129 from veraPDF/docker_master
Browse files Browse the repository at this point in the history
Use master branch for docker image
  • Loading branch information
MaximPlusov authored Oct 2, 2023
2 parents a767801 + b37031e commit d48245a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Docker image

on:
push:
branches: [ integration ]
branches: [ master ]

jobs:
push_to_registry:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
FROM maven:3.8.6-openjdk-11 as app-builder
WORKDIR /build

# A specifc git branch, tag or commit to build from, defaults to integration (dev build)
# A specifc git branch, tag or commit to build from, defaults to master (release build)
ARG GH_CHECKOUT
ENV GH_CHECKOUT=${GH_CHECKOUT:-integration}
ENV GH_CHECKOUT=${GH_CHECKOUT:-master}

# Clone the repo, checkout the revision and build the application
RUN git clone https://github.com/veraPDF/veraPDF-rest.git
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ Currently it's delivered as a single Maven module, veraPDF-rest.
Swagger documentation is available at [localhost:8080/swagger](http://localhost:8080/swagger).

### Want to try?
First clone this project, go to the project directory and then build the Maven project:
First clone this project, go to the project directory, checkout to `master` branch for release version or `integration`
branch for dev version, and then build the Maven project:

git clone https://github.com/veraPDF/veraPDF-rest.git
cd veraPDF-rest
git checkout integration
git checkout master
mvn clean package

To start up the server:
Expand Down

0 comments on commit d48245a

Please sign in to comment.