File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6767 password : ${{ secrets.password }}
6868
6969 - name : Build Docker Image
70- if : ${{ inputs.push }}
7170 uses : docker/build-push-action@v6
7271 with :
7372 context : ${{ inputs.context }}
Original file line number Diff line number Diff line change @@ -15,11 +15,12 @@ This reusable GitHub Actions workflow automates the process of building and push
1515
1616## ⚙️ Inputs
1717
18- | Name | Description | Required | Default |
19- | ------------ | -------------------------------------------------------------------------------- | -------- | -------------- |
20- | ` image-name ` | Tag to apply to the built image (e.g., 'myimage: latest ', 'myorg/myimage: v1 .2.3') | true | - |
21- | ` image-tag ` | Tag to apply to the built image (e.g., 'latest', 'v1.2.3') | No | ` "latest" ` |
22- | ` dockerfile ` | Path to the Dockerfile to build (e.g., './Dockerfile', './docker/Dockerfile') | No | ` "Dockerfile" ` |
18+ | Name | Description | Required | Default |
19+ | ------------ | ----------------------------------------------------------------------------- | -------- | -------------- |
20+ | ` image-name ` | Name of Docker Image (e.g., 'myimage', 'myorg/myimage') | true | - |
21+ | ` image-tag ` | Tag to apply to the built image (e.g., 'latest', 'v1.2.3') | No | ` "latest" ` |
22+ | ` dockerfile ` | Path to the Dockerfile to build (e.g., './Dockerfile', './docker/Dockerfile') | No | ` "Dockerfile" ` |
23+ | ` push ` | Push Docker Image to Registry | No | ` false ` |
2324
2425## 🔐 Secrets
2526
You can’t perform that action at this time.
0 commit comments