Skip to content

Commit a02e2c0

Browse files
committed
Artifact built
1 parent cd82fd9 commit a02e2c0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ jobs:
1717
contents: read
1818
packages: write
1919
uses: ./.github/workflows/docker-build.yml
20+
with:
21+
service: '.'
2022
secrets: inherit

.github/workflows/docker-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Docker Build and Push
22

33
on:
44
workflow_call:
5+
inputs:
6+
service:
7+
description: 'Service name to build'
8+
required: false
9+
type: string
10+
default: '.'
511
secrets:
612
DOCKERHUB_USERNAME:
713
required: false
@@ -15,7 +21,6 @@ env:
1521
jobs:
1622
build:
1723
runs-on: ubuntu-latest
18-
if: inputs.should-build
1924

2025
permissions:
2126
contents: read

0 commit comments

Comments
 (0)