Skip to content

use correct deployment #25

use correct deployment

use correct deployment #25

Workflow file for this run

name: build-deploy
on:
push:
branches:
- main
- auto-deploy
permissions:
contents: read
packages: write
security-events: write
jobs:
build:
uses: ablockofficial/platform/.github/workflows/build.yml@main
with:
REGISTRY: ${{ vars.REGISTRY }}
REPOSITORY: ${{ vars.REPOSITORY }}
scan-image:
uses: ablockofficial/platform/.github/workflows/scan-image.yml@main
secrets: inherit
needs: build
with:
IMAGE: ${{ vars.REGISTRY }}/${{ vars.REPOSITORY }}:${{ github.sha }}
deploy:
uses: ablockofficial/platform/.github/workflows/deploy.yml@main
secrets: inherit
needs: scan-image
with:
REGION: ${{ vars.REGION }}
PROJECT_ID: ${{ vars.PROJECT_ID }}
CLUSTER_NAME: ${{ vars.CLUSTER_NAME }}
DEPLOYMENT: a-block-io