Some checks failed
Run testing on the backend code / Build (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m7s
Build and deploy the backend to staging / Add a comment to the PR to notify about the deployment (pull_request) Failing after 21s
Run linting on the backend code / Build (pull_request) Successful in 3m35s
20 lines
535 B
YAML
20 lines
535 B
YAML
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
name: Build and deploy the backend to production
|
|
|
|
jobs:
|
|
build-and-push:
|
|
name: Build and push image
|
|
uses: ./.gitea/workflows/workflow_build-image.yaml
|
|
with:
|
|
# sets the tag to the git tag that triggered the workflow - the deployment (configured in a separate repository) will use this tag and be deployed to production by argocd
|
|
tag: ${{ github.ref_name }}
|
|
secrets:
|
|
PACKAGE_REGISTRY_ACCESS: ${{ secrets.PACKAGE_REGISTRY_ACCESS }}
|