fix: migrate to nano-rust public repo
This commit is contained in:
		
							parent
							
								
									3713bb457e
								
							
						
					
					
						commit
						beba17e1bd
					
				@ -38,7 +38,7 @@ jobs:
 | 
			
		||||
  docker:
 | 
			
		||||
    name: docker
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    needs: [tests]  # require tests to pass before deploy runs
 | 
			
		||||
    needs: tests  # require tests to pass before deploy runs
 | 
			
		||||
    container:
 | 
			
		||||
      image: ovlach/docker-gitea:v0.0.2-alpha
 | 
			
		||||
    steps:
 | 
			
		||||
@ -59,7 +59,7 @@ jobs:
 | 
			
		||||
  stage_deployment:
 | 
			
		||||
    name: stage-deployment
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    needs: [docker]  # require tests to pass before deploy runs
 | 
			
		||||
    needs: [docker, tests]  # require tests to pass before deploy runs
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Install kustomize
 | 
			
		||||
      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 GITEA_TOKEN
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,7 @@ ARG GITEA_TOKEN
 | 
			
		||||
COPY . /data/
 | 
			
		||||
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 GITEA_TOKEN
 | 
			
		||||
COPY --from=builder /data/target/release/${PACKAGE_NAME} /bin
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user