File tree Expand file tree Collapse file tree 4 files changed +43
-2
lines changed
Expand file tree Collapse file tree 4 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN cd zola && git checkout v0.19.2 && cargo install --path . --locked
1919
2020RUN cd ..
2121
22- RUN cargo install mdbook --locked && cargo install mdbook-variables --locked
22+ RUN cargo install mdbook --locked --version= "^0.4" && cargo install mdbook-variables --locked --version= "^0.2"
2323
2424COPY entrypoint.sh /entrypoint.sh
2525
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ main() {
9090 cd orientdb
9191
9292 echo " building javadocs for 3.2.x"
93- git checkout 3.2.42
93+ git checkout ` cat ../LAST_STABLE `
9494 mvn clean javadoc:aggregate
9595 mv target/site/apidocs/ ../public/javadocs/3.2.x/
9696
Original file line number Diff line number Diff line change 1+ name : Build Docker image
2+
3+ on :
4+ workflow_dispatch :
5+
6+ env :
7+ REGISTRY : ghcr.io
8+ IMAGE_NAME : ${{ github.repository }}
9+
10+ jobs :
11+ build-and-push-image :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ packages : write
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v3
20+ - name : Log in to the Container registry
21+ uses : docker/login-action@v3
22+ with :
23+ registry : ${{ env.REGISTRY }}
24+ username : ${{ github.actor }}
25+ password : ${{ secrets.GITHUB_TOKEN }}
26+
27+ - name : Extract metadata (tags, labels) for Docker
28+ id : meta
29+ uses : docker/metadata-action@v3
30+ with :
31+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
32+
33+ - name : Build and push Docker image
34+ uses : docker/build-push-action@v3
35+ with :
36+ context : .
37+ file : .github/action/Dockerfile
38+ push : true
39+ tags : ${{ steps.meta.outputs.tags }}
40+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 1+ 3.2.42
You can’t perform that action at this time.
0 commit comments