Skip to content

🚀 Production

🚀 Production #46

Workflow file for this run

name: 🚀 Production
on:
workflow_dispatch:
push:
tags:
- v*
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
jobs:
register:
name: Build & Register application
runs-on: ubuntu-latest
steps:
- name: Use autodevops build and register
uses: socialgouv/workflows/actions/build-image@v1
with:
environment: prod
dockercontext: ./back/strapi
imagePackage: strapi
token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: ./back/strapi/Dockerfile
kontinuous:
name: "Deploy on Kubernetes 🐳"
needs: [register]
uses: socialgouv/workflows/.github/workflows/use-ks-gh-production.yaml@v1
secrets: inherit