We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd82fd9 commit a02e2c0Copy full SHA for a02e2c0
.github/workflows/build-and-push.yml
@@ -17,4 +17,6 @@ jobs:
17
contents: read
18
packages: write
19
uses: ./.github/workflows/docker-build.yml
20
+ with:
21
+ service: '.'
22
secrets: inherit
.github/workflows/docker-build.yml
@@ -2,6 +2,12 @@ name: Docker Build and Push
2
3
on:
4
workflow_call:
5
+ inputs:
6
+ service:
7
+ description: 'Service name to build'
8
+ required: false
9
+ type: string
10
+ default: '.'
11
secrets:
12
DOCKERHUB_USERNAME:
13
required: false
@@ -15,7 +21,6 @@ env:
15
jobs:
16
build:
23
runs-on: ubuntu-latest
- if: inputs.should-build
24
25
permissions:
26
0 commit comments