test: Gtiea Actions
This commit is contained in:
parent
c34c207c47
commit
7a0c81c5a7
21
.gitea/workflows/build-and-push.yaml
Normal file
21
.gitea/workflows/build-and-push.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Build Image using Dockerfile
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Buildah Action
|
||||||
|
uses: redhat-actions/buildah-build@v2
|
||||||
|
with:
|
||||||
|
image: my-new-image
|
||||||
|
tags: v1 ${{ github.sha }}
|
||||||
|
containerfiles: |
|
||||||
|
./Dockerfile
|
||||||
|
build-args: |
|
||||||
|
TARGETARCH=amd64
|
||||||
|
BUILD_DATE=$(date +%Y%m%d%H%M)
|
Loading…
x
Reference in New Issue
Block a user