File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,20 @@ jobs:
2828 with :
2929 username : ${{ env.USERNAME }}
3030 password : ${{ env.PASSWORD }}
31-
32- - name : Build and push the Docker image
33- run : |
34- docker buildx build --builder cloud-demonstrationorg-default -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }} .
35- docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }}
31+
32+ - name : Set up Docker Buildx
33+ uses : docker/setup-buildx-action@v3
34+ with :
35+ driver : cloud
36+ endpoint : " demonstrationorg/default"
37+ install : true
38+
39+ - name : Build and push
40+ uses : docker/build-push-action@v6
41+ with :
42+ push : true
43+ platforms : linux/amd64
44+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }}
3645
3746
3847
You can’t perform that action at this time.
0 commit comments