Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

πŸš€ Production

πŸš€ Production #9

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:
build-api:
name: Build API
runs-on: ubuntu-latest
steps:
- name: Use autodevops build and register
uses: socialgouv/workflows/actions/build-image@v1
with:
imagePackage: api
token: ${{ secrets.GITHUB_TOKEN }}
environment: prod
dockerfile: ./api/Dockerfile
dockercontext: ./api
dockerbuildargs: |
PRODUCTION=true
kontinuous:
name: "Deploy on Kubernetes 🐳"
needs: [build-api]
uses: socialgouv/workflows/.github/workflows/use-ks-gh-production.yaml@v1
secrets: inherit