File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12+ env :
13+ VERSION : $(cat .version)
1214 steps :
1315 - name : Checkout code
1416 uses : actions/checkout@v4
2628 file : deploy/Dockerfile-BE
2729 platforms : linux/amd64,linux/arm64
2830 push : true
29- tags : ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-backend:$(cat .version) , ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-backend:latest
31+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-backend:${{ env.VERSION }} , ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-backend:latest
3032
3133 - name : Build and push Frontend
3234 uses : docker/build-push-action@v5
3537 file : deploy/Dockerfile-FE
3638 platforms : linux/amd64,linux/arm64
3739 push : true
38- tags : ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-frontend:$(cat .version) , ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-frontend:latest
40+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-frontend:${{ env.VERSION }} , ${{ secrets.DOCKERHUB_USERNAME }}/ghostsend-frontend:latest
You can’t perform that action at this time.
0 commit comments