Skip to content

chore: 'docker-compose'->'docker compose' #311

chore: 'docker-compose'->'docker compose'

chore: 'docker-compose'->'docker compose' #311

name: "Push to main branch"
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "CHANGELOG.md"
jobs:
codeql:
uses: ./.github/workflows/codeql.yaml
tests:
uses: ./.github/workflows/tests.yaml
generate-changelog:
needs: tests
uses: ./.github/workflows/generate-changelog.yaml
docs:
needs: generate-changelog
uses: ./.github/workflows/publish-docs.yaml
with:
message: "Warning: This is the development version."
publish-latest:
needs: tests
uses: ./.github/workflows/publish-image.yaml
with:
image-tags: latest
oauth-redirect-url: "https://proxy-template-fastapi-react-test.playground.radix.equinor.com/"
# FIXME: DEMO CURRENTLY NOT DEPLOYED TO RADIX, comment back in to enable deployment to test environment
# deploy-test:
# needs: publish-latest
# uses: ./.github/workflows/deploy-to-radix.yaml
# with:
# radix-environment: "test"
release-please:
needs: tests
uses: ./.github/workflows/create-release-pr.yaml
publish-production:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: ./.github/workflows/publish-image.yaml
with:
image-tags: production,${{ needs.release-please.outputs.tag_name }}
oauth-redirect-url: "https://template-fastapi-react.app.playground.radix.equinor.com"
# FIXME: DEMO CURRENTLY NOT DEPLOYED TO RADIX, comment back in to enable deployment to production environment
# deploy-prod:
# needs: publish-production
# uses: ./.github/workflows/deploy-to-radix.yaml
# with:
# radix-environment: "prod"