Release image #59
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GeoSight is UNICEF's geospatial web-based business intelligence platform. | |
| # | |
| # Contact : geosight-no-reply@unicef.org | |
| # | |
| # .. note:: This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU Affero General Public License as published by | |
| # the Free Software Foundation; either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # __author__ = 'irwan@kartoza.com' | |
| # __date__ = '11/11/2025' | |
| # __copyright__ = ('Copyright 2025, Unicef') | |
| name: Release image | |
| on: | |
| create: | |
| tags: | |
| - '*' | |
| jobs: | |
| docker-builder-run-on-tag: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.ref_name }} | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
| - name: Build and push image | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: deployment/docker/Dockerfile | |
| push: true | |
| tags: ${{ secrets.DOCKERHUB_REPO }}/geosight:${{ github.ref_name }} |