@@ -48,48 +48,28 @@ jobs:
4848 username : ${{ secrets.DOCKERHUB_USERNAME }}
4949 password : ${{ secrets.DOCKERHUB_TOKEN }}
5050
51- <<<<<<< HEAD
52- - name : Build and push
53- =======
5451 - name : Production Build and push
5552 if : contains(github.ref, "main")
56- >>>>>>> main
5753 uses : docker/build-push-action@v2
5854 with :
5955 context : .
6056 push : true
61- <<<<<<< HEAD
62- tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:${{steps.vars.outputs.tag}}
63- =======
6457 tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:latest
65- >>>>>>> main
6658 platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
6759 cache-from : type=local,src=/tmp/.buildx-cache
6860 cache-to : type=local,dest=/tmp/.buildx-cache-new
6961
70- <<<<<<< HEAD
71- - name : Build and push
72- =======
7362 - name : Development Build and push
7463 if : contains(github.ref, "develop")
75- >>>>>>> main
7664 uses : docker/build-push-action@v2
7765 with :
7866 context : .
7967 push : true
80- <<<<<<< HEAD
81- tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:latest
82- platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
83- cache-from : type=local,src=/tmp/.buildx-cache
84- cache-to : type=local,dest=/tmp/.buildx-cache-new
85-
86- =======
8768 tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:develop
8869 platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
8970 cache-from : type=local,src=/tmp/.buildx-cache
9071 cache-to : type=local,dest=/tmp/.buildx-cache-new
9172
92- >>>>>>> main
9373 - name : Move cache
9474 run : |
9575 rm -rf /tmp/.buildx-cache
0 commit comments