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