File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -135,19 +135,12 @@ jobs:
135135 username : ${{ secrets.DOCKERHUB_USERNAME }}
136136 password : ${{ secrets.DOCKERHUB_TOKEN }}
137137
138- - id : docker-publish
139- name : Build image
140- 138+ - name : Build image
139+ uses : docker/build-push-action@v6
141140 with :
142- docker_username : ${{ secrets.DOCKERHUB_USERNAME }}
143- docker_password : ${{ secrets.DOCKERHUB_TOKEN }}
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
141+ context : .
142+ push : true
143+ tags : ${{ github.sha }}
151144 - run : |
152145 echo "Image Created: ${{ env.image }}"
153146 echo "Tag Created: ${{ env.tag }}"
You can’t perform that action at this time.
0 commit comments