push
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	
This commit is contained in:
		@@ -1,11 +1,8 @@
 | 
			
		||||
---
 | 
			
		||||
name: docker-monica-build main
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '0 6 * * SUN'
 | 
			
		||||
    tags:
 | 
			
		||||
      - '[0-9]+.*'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  dockerfile_lint:
 | 
			
		||||
@@ -21,14 +18,17 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-22.04
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - name: Extract Git Tag
 | 
			
		||||
        id: get_tag
 | 
			
		||||
        run: echo "TAG=${GITHUB_REF_NAME}" >> $GITHUB_ENV
 | 
			
		||||
      - name: Kaniko build
 | 
			
		||||
        # https://github.com/aevea/action-kaniko/releases
 | 
			
		||||
        uses: aevea/action-kaniko@v0.12.0
 | 
			
		||||
        with:
 | 
			
		||||
          image: rogersik/monica
 | 
			
		||||
          registry: gitea.sikorski.cloud
 | 
			
		||||
          tag: '4.1'
 | 
			
		||||
          # tag_with_latest: true # https://github.com/aevea/action-kaniko/issues/66
 | 
			
		||||
          tag: '${{ env.TAG }}'
 | 
			
		||||
          cache: true
 | 
			
		||||
          build_args: |
 | 
			
		||||
            GIT_TAG=${{ env.TAG }}
 | 
			
		||||
          username: rogersik
 | 
			
		||||
          password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
# https://hub.docker.com/_/monica
 | 
			
		||||
FROM monica:4.1
 | 
			
		||||
FROM monica:$GIT_TAG
 | 
			
		||||
 | 
			
		||||
RUN \
 | 
			
		||||
  # Use the default production configuration
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user