mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +00:00
modified to setup composer auth for private packages/extensions in builds and deploy if arg provided
This commit is contained in:
3
.github/workflows/cd.yml
vendored
3
.github/workflows/cd.yml
vendored
@@ -10,6 +10,8 @@ concurrency:
|
||||
|
||||
env:
|
||||
PROJECT: ${{ secrets.PROJECT }}
|
||||
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.COMPOSER_GITHUB_AUTH_TOKEN }}"}}'
|
||||
|
||||
jobs:
|
||||
build_service:
|
||||
name: Build and Deploy the Service
|
||||
@@ -49,6 +51,7 @@ jobs:
|
||||
env:
|
||||
REGISTRY: ${{ steps.login-ecr.outputs.registry }}/${{ env.PROJECT }}-${{ env.STACK }}
|
||||
VERSION: ${{ env.VERSION }}
|
||||
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.COMPOSER_GITHUB_AUTH_TOKEN }}"}}'
|
||||
with:
|
||||
push: true
|
||||
files: |
|
||||
|
||||
Reference in New Issue
Block a user