test: Gtiea Actions
This commit is contained in:
parent
ec8abd7f5a
commit
206064ab6f
@ -1,5 +1,8 @@
|
||||
name: Build Image using Dockerfile
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -7,13 +10,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Setup Buildah
|
||||
run: |
|
||||
apt -y update
|
||||
apt -y install buildah
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Buildah Action
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
with:
|
||||
image: my-new-image
|
||||
tags: v1 ${{ github.sha }}
|
||||
tags: latest ${{ github.sha }}
|
||||
containerfiles: |
|
||||
./Dockerfile
|
||||
build-args: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user