Skip to content

Commit b137815

Browse files
committed
Add nightly (debug) builds
1 parent 1d5f51d commit b137815

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/qgis-server.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,23 @@ jobs:
6262
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
6363
tags: "${{ steps.get_tag_qgis_3.outputs.tags }}"
6464
workdir: .
65+
66+
67+
- name: Get version tag QGIS 3 release nightly
68+
id: get_tag_qgis_3_nightly
69+
run: |
70+
VERSION_TRIPLE=$(curl -Ls https://ubuntu.qgis.org/ubuntu-nightly-release/dists/noble/main/binary-amd64/Packages | grep -A 2 "Package: qgis-server$" | grep Version | head -1 | sed 's/^Version: 1:\(.*\)+.*/\1/')
71+
VERSION_MINOR=$(curl -Ls https://ubuntu.qgis.org/ubuntu-nightly-release/dists/noble/main/binary-amd64/Packages | grep -A 2 "Package: qgis-server$" | grep Version | head -1 | sed 's/^Version: 1:\([0-9]*\.[0-9]*\).*/\1/')
72+
echo "tags=$VERSION_TRIPLE,${VERSION_MINOR}-nightly,latest-nightly" >> $GITHUB_OUTPUT
73+
74+
- name: Build and publish docker image for QGIS Server 3 nightly
75+
uses: elgohr/Publish-Docker-Github-Action@v4
76+
env:
77+
QGIS_REPO: ubuntu-nightly-release
78+
with:
79+
name: sourcepole/qwc-qgis-server
80+
username: ${{ secrets.DOCKER_HUB_USER }}
81+
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
82+
tags: "${{ steps.get_tag_qgis_3_nightly.outputs.tags }}"
83+
workdir: .
84+
buildargs: QGIS_REPO

0 commit comments

Comments
 (0)