push
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
name: docker-monica-build mr
|
||||
name: docker-monica-build development
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- main
|
||||
- main # Läuft auf allen Branches außer `main`
|
||||
|
||||
jobs:
|
||||
dockerfile_lint:
|
||||
@@ -19,12 +19,15 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Extract Branch Name
|
||||
id: branch_name
|
||||
run: echo "BRANCH_NAME=${GITHUB_REF_NAME}" >> $GITHUB_ENV
|
||||
- name: Kaniko build
|
||||
uses: aevea/action-kaniko@master
|
||||
uses: aevea/action-kaniko@v0.12.0
|
||||
with:
|
||||
image: rogersik/monica
|
||||
registry: gitea.sikorski.cloud
|
||||
tag: "4.1-dev"
|
||||
tag: "${{ env.BRANCH_NAME }}"
|
||||
cache: true
|
||||
username: rogersik
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user