docker-devops-helper/.gitea/workflows/dev.yaml

24 lines
621 B
YAML
Raw Normal View History

2023-07-23 19:14:51 +02:00
on:
push:
branches-ignore:
- main
jobs:
build:
2023-07-23 19:35:31 +02:00
runs-on: docker
2023-07-23 19:29:30 +02:00
container:
2023-07-23 19:33:00 +02:00
image: alpine:latest
2023-07-23 19:14:51 +02:00
steps:
2023-07-23 19:33:29 +02:00
- run: apk --no-cache add nodejs git
2023-07-23 19:33:00 +02:00
- uses: actions/checkout@v3
- name: Kaniko build
uses: aevea/action-kaniko@master
2023-07-23 19:28:40 +02:00
with:
2023-07-23 19:33:00 +02:00
registry: gitea.sikorski.cloud
image: rogersik/docker-admin-helper
tag: development
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
cache: true
2023-07-23 19:36:34 +02:00
cache_registry: rogersik/docker-admin-helper
2023-07-23 19:36:54 +02:00
build_file: ./Dockerfile