Skip to content

Update push-trigger.yml #73

Update push-trigger.yml

Update push-trigger.yml #73

Workflow file for this run

name: Build data-archive
on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
push:
branches:
- master
- 1.*
- develop
- release*
- MOSIP*
jobs:
build-dockers:
strategy:
matrix:
include:
- SERVICE_LOCATION: 'data-archive'
SERVICE_NAME: 'data-archive'
fail-fast: false
name: ${{ matrix.SERVICE_NAME }}
uses: bn46org/kattu/.github/workflows/docker-build.yml@develop

Check failure on line 32 in .github/workflows/push-trigger.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push-trigger.yml

Invalid workflow file

error parsing called workflow ".github/workflows/push-trigger.yml" -> "bn46org/kattu/.github/workflows/docker-build.yml@develop" (source branch with sha:65c1dbe7eafde3cc7158f351a7f583d7913449f8) : reusable workflows should be referenced at the top-level `jobs.*.uses' key, not within steps
with:
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }}
SERVICE_NAME: ${{ matrix.SERVICE_NAME }}
GITHUB_USER: ${{ github.event.pull_request.user.login || github.actor || 'unknown' }}
PR_URL: ${{ github.event.pull_request.html_url || github.event.release.url || github.event.html_url || 'Not Available' }}
PR_TITLE: ${{ github.event.pull_request.title || github.event.release.name || github.ref_name || 'No Title' }}
REPOSITORY: ${{ github.repository }}
ACTION: ${{ github.event.action || 'push' }}
secrets:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GENERAL_CHANNEL_ID: ${{ secrets.GENERAL_CHANNEL_ID }}
SLACK_USERS_MAP: ${{ secrets.SLACK_USERS_MAP }}
GPG_USER_MAP_PASSPHRASE: ${{ secrets.GPG_USER_MAP_PASSPHRASE }}