Skip to content

Commit

Permalink
set_env & build
Browse files Browse the repository at this point in the history
  • Loading branch information
enFloo committed Mar 5, 2024
1 parent 6d8f561 commit 925761e
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/stagDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,26 @@ on:
workflow_dispatch:

jobs:
set_env:
runs-on:
- self-hosted
- "flo-stag"
outputs:
ACCOUNT: ${{ vars.AWS_ACCOUNT_ID_FLOSTAG }}
APP_ENV: stag
APP_NAME: redis-commander
CLUSTER: stag
LOG_LEVEL: trace
DOMAIN: redis-commander.stag-aws.flokubernetes.com
steps: [{ run: "exit 0" }] # noop step to satisfy job requirements

build:
needs: [set_env]
uses: flocasts/github-actions/.github/workflows/shared-build-container.yaml@main
with:
app-env: stag # required
app-name: redis-commander
app-env: ${{ needs.set_env.outputs.APP_ENV }}
app-name: ${{ needs.set_env.outputs.APP_NAME }}
build-role: github-actions-deploy-role
region: "us-west-2" # required
build-args: |
--progress=plain
APP_NAME: ${{ needs.set_env.outputs.APP_NAME }}

0 comments on commit 925761e

Please sign in to comment.