29 lines
802 B
YAML
29 lines
802 B
YAML
on:
|
|
push:
|
|
branches-ignore:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: k3s
|
|
container:
|
|
image: alpine:latest
|
|
steps:
|
|
- run: apk --no-cache add nodejs
|
|
- uses: actions/checkout@v3
|
|
- name: docker login
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: "gitea.sikorski.cloud"
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
- name: Kaniko build
|
|
uses: aevea/action-kaniko@master
|
|
with:
|
|
registry: gitea.sikorski.cloud
|
|
image: rogersik/docker-admin-helper
|
|
tag: development
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
cache: true
|
|
cache_registry: rogersik/docker-admin-helper |