Fix path for docker images

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-02-21 12:05:07 +01:00
parent ae761c9270
commit 0eeda22441
1 changed files with 13 additions and 10 deletions

View File

@ -2,13 +2,16 @@ name: Publish Docker Image to GCR
on:
push:
branches: [dev,main]
paths: ['.github/ci-docker-publish.yml',
'programs/**',
'lib/client/**',
'bin/keeper/**',
'bin/liquidator/**',
'bin/settle-bot/**']
branches: [dev, main]
paths:
[
'.github/ci-docker-publish.yml',
'programs/**',
'lib/client/**',
'bin/keeper/**',
'bin/liquidator/**',
'bin/settle-bot/**',
]
workflow_call:
secrets:
GCR_PROJECT:
@ -70,7 +73,7 @@ jobs:
- name: Build and Push Liquidator
uses: docker/build-push-action@v2
with:
file: liquidator/Dockerfile.liquidator
file: bin/liquidator/Dockerfile.liquidator
context: .
push: true
tags: |
@ -81,7 +84,7 @@ jobs:
- name: Build and Push Settle Bot
uses: docker/build-push-action@v2
with:
file: settle-bot/Dockerfile.settle-bot
file: bin/settle-bot/Dockerfile.settle-bot
context: .
push: true
tags: |
@ -92,7 +95,7 @@ jobs:
- name: Build and Push Keeper
uses: docker/build-push-action@v2
with:
file: keeper/Dockerfile.keeper
file: bin/keeper/Dockerfile.keeper
context: .
push: true
tags: |