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