feature/gitea-actions #1
@ -7,19 +7,23 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: k3s
|
runs-on: k3s
|
||||||
container:
|
container:
|
||||||
image: docker:24-cli
|
image: alpine:latest
|
||||||
steps:
|
steps:
|
||||||
- run: apk --no-cache add nodejs
|
- run: apk --no-cache add nodejs
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: docker login
|
- name: docker login
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: "gitea.sikorski.cloud"
|
registry: "gitea.sikorski.cloud"
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
- name: Build and push
|
- name: Kaniko build
|
||||||
uses: docker/build-push-action@v4
|
uses: aevea/action-kaniko@master
|
||||||
with:
|
with:
|
||||||
push: true
|
registry: gitea.sikorski.cloud
|
||||||
tags: gitea.sikorski.cloud/rogersik/docker-admin-helper:development
|
image: rogersik/docker-admin-helper
|
||||||
|
tag: development
|
||||||
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
cache: true
|
||||||
|
cache_registry: rogersik/docker-admin-helper
|
Loading…
Reference in New Issue
Block a user