fix: migrate to nano-rust public repo
This commit is contained in:
		
							parent
							
								
									3713bb457e
								
							
						
					
					
						commit
						beba17e1bd
					
				@ -38,7 +38,7 @@ jobs:
 | 
				
			|||||||
  docker:
 | 
					  docker:
 | 
				
			||||||
    name: docker
 | 
					    name: docker
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    needs: [tests]  # require tests to pass before deploy runs
 | 
					    needs: tests  # require tests to pass before deploy runs
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
      image: ovlach/docker-gitea:v0.0.2-alpha
 | 
					      image: ovlach/docker-gitea:v0.0.2-alpha
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
@ -59,7 +59,7 @@ jobs:
 | 
				
			|||||||
  stage_deployment:
 | 
					  stage_deployment:
 | 
				
			||||||
    name: stage-deployment
 | 
					    name: stage-deployment
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    needs: [docker]  # require tests to pass before deploy runs
 | 
					    needs: [docker, tests]  # require tests to pass before deploy runs
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - name: Install kustomize
 | 
					    - name: Install kustomize
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM git.nanobyte.cz/nanobyte/nano-rust:1.74.4e44cba AS builder
 | 
					FROM git.nanobyte.cz/nanobyte-public/nano-rust:1.74.5f84654 AS builder
 | 
				
			||||||
ARG PACKAGE_NAME="ovlach_frontend"
 | 
					ARG PACKAGE_NAME="ovlach_frontend"
 | 
				
			||||||
ARG GITEA_TOKEN
 | 
					ARG GITEA_TOKEN
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -6,7 +6,7 @@ ARG GITEA_TOKEN
 | 
				
			|||||||
COPY . /data/
 | 
					COPY . /data/
 | 
				
			||||||
RUN cd /data && cargo-nan "${GITEA_TOKEN}" cargo build --release
 | 
					RUN cd /data && cargo-nan "${GITEA_TOKEN}" cargo build --release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM git.nanobyte.cz/nanobyte/nano-rust:1.74.4e44cba
 | 
					FROM git.nanobyte.cz/nanobyte-public/nano-rust:1.74.5f84654
 | 
				
			||||||
ARG PACKAGE_NAME="ovlach_frontend"
 | 
					ARG PACKAGE_NAME="ovlach_frontend"
 | 
				
			||||||
ARG GITEA_TOKEN
 | 
					ARG GITEA_TOKEN
 | 
				
			||||||
COPY --from=builder /data/target/release/${PACKAGE_NAME} /bin
 | 
					COPY --from=builder /data/target/release/${PACKAGE_NAME} /bin
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user