31 lines
662 B
YAML
31 lines
662 B
YAML
name: docker-build mr
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 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: Kaniko build
|
|
uses: aevea/action-kaniko@master
|
|
with:
|
|
image: rogersik/ubuntu-xrdp
|
|
registry: gitea.sikorski.cloud
|
|
tag: "latest-dev"
|
|
cache: true
|
|
username: rogersik
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|