Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Oct 27, 2024
1 parent f42c843 commit c78d2d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bot-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
needs: [lint, test]
uses: ./.github/workflows/build-push.yml
with:
app_name: "bot"
app: "bot"
context: "./bot"
dockerfile: "./bot/Dockerfile"
4 changes: 2 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Build and Push Docker Image
on:
workflow_call:
inputs:
app_name:
app:
description: "Name of the application (bot or hivemind-adapter)"
required: true
type: string
Expand All @@ -19,7 +19,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-${{ inputs.app_name }}
IMAGE_NAME: ${{ github.repository }}-${{ inputs.app }}

jobs:
build-push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hivemind-adapter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
needs: [lint]
uses: ./.github/workflows/build-push.yml
with:
app_name: "hivemind-adapter"
app: "hivemind-adapter"
context: "./hivemind-adapter"
dockerfile: "./hivemind-adapter/Dockerfile"

0 comments on commit c78d2d6

Please sign in to comment.