feat: remove actions config
This commit is contained in:
parent
e2bb78d252
commit
96a6ebf76c
@ -1,32 +0,0 @@
|
|||||||
name: Build Image using Dockerfile
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build image
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Get current date
|
|
||||||
id: date
|
|
||||||
run: echo "::set-output name=date::$(date '+%Y-%m-%dT%TZ%z')"
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: docker/metadata-action@v3
|
|
||||||
id: metadata
|
|
||||||
with:
|
|
||||||
images: git.thebarrens.nu/${{ gitea.repository}}
|
|
||||||
- uses: docker/login-action@v2
|
|
||||||
with:
|
|
||||||
registry: git.thebarrens.nu
|
|
||||||
username: ${{ gitea.actor }}
|
|
||||||
password: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
- uses: int128/kaniko-action@v1
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: latest
|
|
||||||
labels: ${{ steps.metadata.outputs.labels }}
|
|
||||||
cache: false
|
|
||||||
build-args: |
|
|
||||||
BUILD_DATE: ${{ steps.date.outputs.date }}
|
|
Loading…
x
Reference in New Issue
Block a user