Skip to content

Develop

Develop #86

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 / Build data-archive

Invalid workflow file

The workflow is not valid. In .github/workflows/push-trigger.yml (Line: 32, Col: 11): Error from called workflow bn46org/kattu/.github/workflows/docker-build.yml@develop (Line: 208, Col: 32): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GPG_USER_MAP_PASSPHRASE In .github/workflows/push-trigger.yml (Line: 32, Col: 11): Error from called workflow bn46org/kattu/.github/workflows/docker-build.yml@develop (Line: 209, Col: 24): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SLACK_BOT_TOKEN

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

View workflow run for this annotation

GitHub Actions / Build data-archive

Invalid workflow file

error parsing called workflow ".github/workflows/push-trigger.yml" -> "bn46org/kattu/.github/workflows/docker-build.yml@develop" (source branch with sha:8a25395f60470991b94a7cf99c79d7f1ba6cb5e3) : 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.actor }}
REPOSITORY: ${{ github.repository }}
PR_TITLE: ${{ github.event.pull_request.title || 'N/A' }}
ACTION: ${{ github.event.action || 'N/A' }}
PR_URL: ${{ github.event.pull_request.html_url || github.event.release.html_url || 'N/A' }}
# GPG_USER_MAP_PASSPHRASE: ${{ secrets.GPG_USER_MAP_PASSPHRASE }}
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# SLACK_CHANNEL_ID: ${{ secrets.GENERAL_CHANNEL_ID }}
secrets:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
# GPG_USER_MAP_PASSPHRASE: ${{ secrets.GPG_USER_MAP_PASSPHRASE }}
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# SLACK_CHANNEL_ID: ${{ secrets.GENERAL_CHANNEL_ID }}
# notify-slack-on-failure:
# if: failure()
# needs: build-dockers
# uses: bn46org/kattu/.github/workflows/slack-notification.yml@develop
# with:
# GITHUB_USER: ${{ github.actor }}
# REPOSITORY: ${{ github.repository }}
# PR_TITLE: ${{ github.event.pull_request.title || 'N/A' }}
# ACTION: ${{ github.event.action || 'N/A' }}
# PR_URL: ${{ github.event.pull_request.html_url || github.event.release.html_url || 'N/A' }}
# secrets:
# GPG_USER_MAP_PASSPHRASE: ${{ secrets.GPG_USER_MAP_PASSPHRASE }}
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# SLACK_CHANNEL_ID: ${{ secrets.GENERAL_CHANNEL_ID }}