Lets go!
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
		
							parent
							
								
									56bf8b317c
								
							
						
					
					
						commit
						3bd42d5253
					
				
					 3 changed files with 38 additions and 1 deletions
				
			
		|  | @ -5,7 +5,7 @@ on: | ||||||
|     branches: |     branches: | ||||||
|     - 'main' |     - 'main' | ||||||
| jobs: | jobs: | ||||||
|   test: |   fatssh: | ||||||
|     runs-on: docker |     runs-on: docker | ||||||
|     container: catthehacker/ubuntu:act-latest |     container: catthehacker/ubuntu:act-latest | ||||||
|     steps: |     steps: | ||||||
|  | @ -32,4 +32,35 @@ jobs: | ||||||
|         uses: docker/build-push-action@v5 |         uses: docker/build-push-action@v5 | ||||||
|         with: |         with: | ||||||
|           push: true |           push: true | ||||||
|  |           file: Dockerfile.fat-ssh | ||||||
|           tags: git.martyn.berlin/martyn/fat-ssh:latest |           tags: git.martyn.berlin/martyn/fat-ssh:latest | ||||||
|  |   macless-haystack-web: | ||||||
|  |     runs-on: docker | ||||||
|  |     container: catthehacker/ubuntu:act-latest | ||||||
|  |     steps: | ||||||
|  |       - name: Check out repository code | ||||||
|  |         uses: actions/checkout@v3 | ||||||
|  |       - name: Create Kubeconfig | ||||||
|  |         run: | | ||||||
|  |           mkdir $HOME/.kube | ||||||
|  |           echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config | ||||||
|  |       - name: Set up Docker Buildx | ||||||
|  |         uses: docker/setup-buildx-action@v3 | ||||||
|  |         with: | ||||||
|  |           driver: kubernetes | ||||||
|  |           driver-opts: | | ||||||
|  |             namespace=git | ||||||
|  |             qemu.install=false | ||||||
|  |       - name: Login to forgejo | ||||||
|  |         uses: docker/login-action@v3 | ||||||
|  |         with: | ||||||
|  |           registry: git.martyn.berlin | ||||||
|  |           username: martyn | ||||||
|  |           password: ${{ secrets.PUSH_TOKEN }} | ||||||
|  |       - name: Build and push | ||||||
|  |         uses: docker/build-push-action@v5 | ||||||
|  |         with: | ||||||
|  |           push: true | ||||||
|  |           file: Dockerfile.macless-haystack-web | ||||||
|  |           tags: git.martyn.berlin/martyn/macless-haystack-web:latest | ||||||
|  |      | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								Dockerfile.macless-haystack-web
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								Dockerfile.macless-haystack-web
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | ||||||
|  | FROM nginx AS builder | ||||||
|  | RUN apt update && apt install unzip | ||||||
|  | RUN curl https://github.com/dchristl/macless-haystack/releases/download/v2.2.0/webapplication.zip -o /tmp/webapplication.zip && cd /usr/share/nginx/ && unzip /tmp/webapplication.zip | ||||||
|  | 
 | ||||||
|  | FROM nginx | ||||||
|  | COPY --from=builder /usr/share/nginx /usr/share/nginx | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue