This commit is contained in:
		@@ -1,34 +1,34 @@
 | 
			
		||||
name: docker-monica-build main
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    tags:
 | 
			
		||||
      - '[0-9]+.*'
 | 
			
		||||
# name: docker-monica-build main
 | 
			
		||||
# on:
 | 
			
		||||
#   push:
 | 
			
		||||
#     tags:
 | 
			
		||||
#       - '[0-9]+.*'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  dockerfile_lint:
 | 
			
		||||
    runs-on: ubuntu-22.04
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - uses: hadolint/hadolint-action@v3.1.0
 | 
			
		||||
        with:
 | 
			
		||||
          dockerfile: Dockerfile
 | 
			
		||||
# jobs:
 | 
			
		||||
#   dockerfile_lint:
 | 
			
		||||
#     runs-on: ubuntu-22.04
 | 
			
		||||
#     steps:
 | 
			
		||||
#       - uses: actions/checkout@v4
 | 
			
		||||
#       - uses: hadolint/hadolint-action@v3.1.0
 | 
			
		||||
#         with:
 | 
			
		||||
#           dockerfile: Dockerfile
 | 
			
		||||
 | 
			
		||||
  build:
 | 
			
		||||
    needs: dockerfile_lint
 | 
			
		||||
    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
 | 
			
		||||
        uses: aevea/action-kaniko@v0.12.0
 | 
			
		||||
        with:
 | 
			
		||||
          image: rogersik/monica
 | 
			
		||||
          registry: gitea.sikorski.cloud
 | 
			
		||||
          tag: '${{ env.TAG }}'
 | 
			
		||||
          cache: true
 | 
			
		||||
          build_args: |
 | 
			
		||||
            GIT_TAG=${{ env.TAG }}
 | 
			
		||||
          username: rogersik
 | 
			
		||||
          password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
			
		||||
#   build:
 | 
			
		||||
#     needs: dockerfile_lint
 | 
			
		||||
#     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
 | 
			
		||||
#         uses: aevea/action-kaniko@v0.12.0
 | 
			
		||||
#         with:
 | 
			
		||||
#           image: rogersik/monica
 | 
			
		||||
#           registry: gitea.sikorski.cloud
 | 
			
		||||
#           tag: '${{ env.TAG }}'
 | 
			
		||||
#           cache: true
 | 
			
		||||
#           build_args: |
 | 
			
		||||
#             GIT_TAG=${{ env.TAG }}
 | 
			
		||||
#           username: rogersik
 | 
			
		||||
#           password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user