Skip to content

Fix sites not showing up on the dashboard (#4348) #1309

Fix sites not showing up on the dashboard (#4348)

Fix sites not showing up on the dashboard (#4348) #1309

Workflow file for this run

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"