Skip to content

build and run action #10

build and run action

build and run action #10

Workflow file for this run

name: Build djakart Docker
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_and_run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: WEBAPP build
run: docker build --build-context webapp_root=./webapp -t enricofer/djakart:latest ./build_webapp
- name: QGIS build
run: docker build -t enricofer/qgis-server:latest ./build_qgis
- name: LIST LOCAL IMAGES
run: docker image ls
- name: DEPLOY
run: docker compose up -d
- name: STOP
run: docker compose down