Compare commits
	
		
			No commits in common. "0a8fa316d942a4c431e99d3098d47f9bdc998d18" and "2930a357342d779c956efc8685f5833f05673232" have entirely different histories. 
		
	
	
		
			0a8fa316d9
			...
			2930a35734
		
	
		| 
						 | 
				
			
			@ -1,19 +1,16 @@
 | 
			
		|||
steps:
 | 
			
		||||
  build-docker-image:
 | 
			
		||||
    when:
 | 
			
		||||
      event: push
 | 
			
		||||
    image: alpine:edge
 | 
			
		||||
    commands:
 | 
			
		||||
      - apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
 | 
			
		||||
      - echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf
 | 
			
		||||
      - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker
 | 
			
		||||
      - cp $(nix build --extra-experimental-features nix-command --extra-experimental-features flakes --print-out-paths .#docker) ./memejoin-rs.tar.gz
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ${AGENT_NIX_STORE_PATH}:/nix
 | 
			
		||||
 | 
			
		||||
  publish-image:
 | 
			
		||||
    when:
 | 
			
		||||
      event: tag
 | 
			
		||||
      - event: tag
 | 
			
		||||
        branch: master
 | 
			
		||||
    image: docker
 | 
			
		||||
    secrets: [ forgejo_token ]
 | 
			
		||||
    commands:
 | 
			
		||||
| 
						 | 
				
			
			@ -23,4 +20,3 @@ steps:
 | 
			
		|||
      - 'docker image push git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}'
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/run/docker.sock:/var/run/docker.sock
 | 
			
		||||
      - ${AGENT_NIX_STORE_PATH}:/nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue