Skip to content

Commit a501f9b

Browse files
committed
added build docker image
1 parent 265f0f9 commit a501f9b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/M1-4-2-CI-Practice.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,21 @@ jobs:
135135
username: ${{ secrets.DOCKERHUB_USERNAME }}
136136
password: ${{ secrets.DOCKERHUB_TOKEN }}
137137

138+
- id: docker-publish
139+
name: Build image
140+
uses: bitovi/[email protected]
141+
with:
142+
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
143+
docker_password: ${{ secrets.DOCKERHUB_PASSWORD }}
144+
checkout: 'false'
145+
image_tag: it
146+
sha: 'true' # won't do anything since image_tag is set
147+
org_name: bitovi
148+
repo_name: deploy-eks-helm
149+
build_args: --build-arg git_personal_token=PAT_token
150+
working-directory: ./app/inner-folder
151+
- run: |
152+
echo "Image Created: ${{ env.image }}"
153+
echo "Tag Created: ${{ env.tag }}"
154+
138155

0 commit comments

Comments
 (0)