Files
docker-monica/.gitea/workflows/dev.yaml
Roger Sikorski 1329f9282a
Some checks failed
docker-monica-build development / dockerfile_lint (push) Successful in 4s
docker-monica-build development / build (push) Failing after 3s
push
2024-11-23 13:01:05 +01:00

34 lines
850 B
YAML

name: docker-monica-build development
on:
push:
branches-ignore:
- main # Läuft auf allen Branches außer `main`
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 Branch Name
id: branch_name
run: echo "BRANCH_NAME=${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.BRANCH_NAME }}"
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}