Compare commits
	
		
			3 Commits
		
	
	
		
			90297ec611
			...
			e98b619fb1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e98b619fb1 | |||
| 267e3857d0 | |||
| e6d349f344 | 
							
								
								
									
										16
									
								
								.github/workflows/mirror.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/mirror.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
name: Mirroring
 | 
			
		||||
 | 
			
		||||
on: [ push, delete ]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  to_gitlab:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v3
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
      - uses: yesolutions/mirror-action@master
 | 
			
		||||
        with:
 | 
			
		||||
          REMOTE: 'https://git.suyiiyii.top/ssyg/hertz101.git'
 | 
			
		||||
          GIT_USERNAME: suyiiyii
 | 
			
		||||
          GIT_PASSWORD: ${{ secrets.GITEATOKEN }}
 | 
			
		||||
@ -2,13 +2,17 @@ apiVersion: apps/v1
 | 
			
		||||
kind: Deployment
 | 
			
		||||
metadata:
 | 
			
		||||
  name: consul
 | 
			
		||||
  labels:
 | 
			
		||||
    app: consul
 | 
			
		||||
spec:
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      io.kompose.service: consul
 | 
			
		||||
      app: consul
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      labels:
 | 
			
		||||
        app: consul
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
        - image: hashicorp/consul:1.20
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user