File tree Expand file tree Collapse file tree 4 files changed +242
-180
lines changed Expand file tree Collapse file tree 4 files changed +242
-180
lines changed Original file line number Diff line number Diff line change 1313jobs :
1414  run-build :
1515    uses : ./.github/workflows/build.yaml 
16+     permissions :
17+       contents : read 
1618
1719  build :
1820    name : Build 
4749        uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392  # v3.6.0
4850
4951      - name : Set up Docker Buildx 
50-         uses : docker/setup-buildx-action@18ce135bb5112fa8ce4ed6c17ab05699d7f3a5e0   #  v3.11.0 
52+         uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435   #  v3.11.1 
5153
5254      - name : Build and push 
5355        uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83  #  v6.18.0
Original file line number Diff line number Diff line change 5959        uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392  # v3.6.0
6060
6161      - name : Set up Docker Buildx 
62-         uses : docker/setup-buildx-action@18ce135bb5112fa8ce4ed6c17ab05699d7f3a5e0   #  v3.11.0 
62+         uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435   #  v3.11.1 
6363
6464      - name : Build and push Docker image 
6565        id : push 
Original file line number Diff line number Diff line change 11#  Use the latest LTS version of Node.js
22#  https://hub.docker.com/_/node
3- FROM  node:22@sha256:71bcbb3b215b3fa84b5b167585675072f4c270855e37a599803f1a58141a0716  AS build-stage
3+ FROM  node:22@sha256:0c0734eb7051babbb3e95cd74e684f940552b31472152edf0bb23e54ab44a0d7  AS build-stage
44WORKDIR  /usr/src/app
55
66#  Copy package.json and package-lock.json
@@ -15,7 +15,7 @@ COPY . .
1515RUN  npm run build
1616
1717#  The same image but now only install the production dependencies as the frontend is already built using vite in the build-stage
18- FROM  gcr.io/distroless/nodejs22-debian12@sha256:3bbb76acb752a4ed1275fd337d005e37cd35706a4f97f916ee1d65a30b486915  AS production
18+ FROM  gcr.io/distroless/nodejs22-debian12@sha256:fd90468f47e91d0d3c9bc055c8c09edbf0c225c3c795d0c266e2ca94b3ba17e3  AS production
1919
2020WORKDIR  /usr/src/app
2121
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments