File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 33on :
44  pull_request :
55    branches :
6-       - main 
6+       - dev 
7+       - hotfixes 
78      - master 
89  merge_group :
910  workflow_dispatch :
Original file line number Diff line number Diff line change 1111    runs-on : ubuntu-latest 
1212    steps :
1313      - uses : actions/checkout@v3 
14-       - name : date 
15-         id : date 
16-         run : echo "::set-output name=date::$(date +'%Y-%m-%d')"  
14+       - name : Extract tag name 
15+         id : tag 
16+         run : echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT  
1717      - name : Get all src files that have changed 
1818        id : changed-files 
1919        uses : tj-actions/changed-files@v46 
3030          workdir : " ${{ github.workspace }}/packages/matrix-invite" 
3131          context : . 
3232          buildoptions : " -t linagora/matrix-invite -f Dockerfile" 
33-           tags : " latest,${{ steps.date.outputs.date }}" 
34- 
33+           tags : " latest,${{ steps.tag.outputs.tag }}" 
Original file line number Diff line number Diff line change 1111    runs-on : ubuntu-latest 
1212    steps :
1313      - uses : actions/checkout@v3 
14-       - name : date 
15-         id : date 
16-         run : echo "::set-output name=date::$(date +'%Y-%m-%d')"  
14+       - name : Extract tag name 
15+         id : tag 
16+         run : echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT  
1717      - name : Get all src files that have changed 
1818        id : changed-files 
1919        uses : tj-actions/changed-files@v46 
4444          push : true 
4545          tags : | 
4646            linagora/tom-federated-identity-service:latest 
47-             linagora/tom-federated-identity-service:${{ steps.date .outputs.date  }} 
47+             linagora/tom-federated-identity-service:${{ steps.tag .outputs.tag  }} 
Original file line number Diff line number Diff line change 1010  publish :
1111    runs-on : ubuntu-latest 
1212    steps :
13-       - name : date 
14-         id : date 
15-         run : echo "::set-output name=date::$(date +'%Y-%m-%d')"  
13+       - name : Extract tag name 
14+         id : tag 
15+         run : echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT  
1616      - uses : actions/checkout@v3 
1717      - name : Get all src files that have changed 
1818        id : changed-files 
4444          push : true 
4545          tags : | 
4646            linagora/tom-server:latest 
47-             linagora/tom-server:${{ steps.date .outputs.date  }} 
47+             linagora/tom-server:${{ steps.tag .outputs.tag  }} 
Original file line number Diff line number Diff line change 11on :
22  push :
3-     branches :
4-       - main 
5-       -  master 
3+     tags :
4+       - " * " 
5+   workflow_dispatch : 
66
77jobs :
88  test :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments