Skip to content

Commit 8fea546

Browse files
committed
Also publish stock viewer as sourcepole/qwc-map-viewer
1 parent 518662a commit 8fea546

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,17 @@ jobs:
5858
tags: "${{ steps.get_tag.outputs.tag }}"
5959
dockerfile: Dockerfile-qwc2-app
6060
buildargs: QWC2_URL,BASE_IMAGE_VERSION
61+
62+
- name: Build and publish default image
63+
uses: elgohr/Publish-Docker-Github-Action@v5
64+
if: github.event_name != 'pull_request'
65+
env:
66+
QWC2_URL: https://github.com/qgis/qwc2-demo-app/releases/download/${{ steps.get_tag.outputs.app_version }}/qwc2-demo-app.zip
67+
BASE_IMAGE_VERSION: ${{ steps.get_tag.outputs.app_version }}
68+
with:
69+
name: sourcepole/qwc-map-viewer
70+
username: ${{ secrets.DOCKER_HUB_USER }}
71+
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
72+
tags: "${{ steps.get_tag.outputs.tag }}"
73+
dockerfile: Dockerfile-qwc2-app
74+
buildargs: QWC2_URL,BASE_IMAGE_VERSION

0 commit comments

Comments
 (0)