18 lines
454 B
YAML
18 lines
454 B
YAML
name: Build and Push Image
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Build and push Docker image
|
|
uses: https://code.thetadev.de/actions/kaniko@v1
|
|
with:
|
|
registry: http://gitea-http.gitea:3000
|
|
image: make/myapp
|
|
username: make
|
|
password: ${{ secrets.TOKEN }}
|
|
cache: true |