File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Artifacts
2+ run-name : 📦 Generate GN4 + DCAT-AP docker image
3+
4+ on : push
5+
6+ concurrency :
7+ group : gn4-build-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ build-gn4-docker :
12+ name : Build custom docker image for GeoNetwork 4
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ with :
18+ ref : ${{ needs.checks.outputs.ref }} # use the PR head ref if applicable; otherwise keep default behaviour
19+ persist-credentials : false
20+ fetch-depth : 0
21+
22+ - name : Login to DockerHub
23+ uses : docker/login-action@v2
24+ with :
25+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
26+ password : ${{ secrets.DOCKER_HUB_PASSWORD }}
27+
28+ - name : Build GN4 docker image
29+ working-directory : support-services/gn4
30+ run : docker build . -t geonetwork/geonetwork-dcat-ap:latest
31+
32+ - name : Push GN4 docker image
33+ run : docker push geonetwork/geonetwork-dcat-ap:latest
You can’t perform that action at this time.
0 commit comments