Add site setting field to enable edit taxa in admin (#4215) #1238
This file contains 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
name: Build and Push Docker Image | |
on: | |
push: | |
branches: | |
- main | |
- multi-tenant | |
tags: | |
- '*' | |
jobs: | |
build-and-push-latest: | |
if: github.ref == 'refs/heads/main' | |
name: Build and Push Docker Image with Latest Tag | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Build and Publish the Docker Image as Latest | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: kartoza/kbims_uwsgi:latest | |
context: . | |
dockerfile: deployment/docker/Dockerfile | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
buildoptions: "--target prod" | |
build-and-push-tag: | |
if: startsWith(github.ref, 'refs/tags/') | |
name: Build and Push Docker Image with Tag Name | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Build and Publish the Docker Image with Tag Name | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: kartoza/kbims_uwsgi:${{ github.ref_name }} | |
context: . | |
dockerfile: deployment/docker/Dockerfile | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
buildoptions: "--target prod" | |
build-and-push-multi-tenant: | |
if: github.ref == 'refs/heads/multi-tenant' | |
name: Build and Push Docker Image with Multi-Tenant Tag | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Build and Publish the Docker Image as Multi-Tenant | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: kartoza/kbims_uwsgi:multi-tenant | |
context: . | |
dockerfile: deployment/docker/Dockerfile | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
buildoptions: "--target prod" | |