Rename to buildah-build

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2020-11-23 13:27:19 -05:00
parent 4373525da7
commit 4e70c85f52
5 changed files with 16 additions and 10 deletions

View file

@ -1,8 +1,8 @@
# buildah # buildah
[![Verify Bundle](https://github.com/redhat-actions/buildah-action/workflows/Verify%20Bundle/badge.svg)](https://github.com/redhat-actions/buildah-action/actions?query=workflow%3A%22Verify+Bundle%22) [![Verify Bundle](https://github.com/redhat-actions/buildah-build/workflows/Verify%20Bundle/badge.svg)](https://github.com/redhat-actions/buildah-build/actions?query=workflow%3A%22Verify+Bundle%22)
[![tag badge](https://img.shields.io/github/v/tag/redhat-actions/buildah-action?sort=semver)](https://github.com/redhat-actions/buildah-action/tags) [![tag badge](https://img.shields.io/github/v/tag/redhat-actions/buildah-build?sort=semver)](https://github.com/redhat-actions/buildah-build/tags)
[![license badge](https://img.shields.io/github/license/redhat-actions/buildah-action)](./LICENSE) [![license badge](https://img.shields.io/github/license/redhat-actions/buildah-build)](./LICENSE)
[![size badge](https://img.shields.io/github/size/redhat-actions/buildah-action/dist/index.js)](./dist) [![size badge](https://img.shields.io/github/size/redhat-actions/buildah-build/dist/index.js)](./dist)
Buildah is a GitHub Action for building OCI-compatible (Docker- and Kubernetes-compatible) images quickly and easily. Buildah is a GitHub Action for building OCI-compatible (Docker- and Kubernetes-compatible) images quickly and easily.
@ -10,6 +10,8 @@ Buildah action works only on Linux distributions, and it is not supported on Win
Note that GitHub's [Ubuntu Environments](https://github.com/actions/virtual-environments#available-environments) (ubuntu-20.04 and ubuntu-18.04) come with buildah 1.17.0 installed. If you are not using these environments, you must first [install buildah](https://github.com/containers/buildah/blob/master/install.md). Note that GitHub's [Ubuntu Environments](https://github.com/actions/virtual-environments#available-environments) (ubuntu-20.04 and ubuntu-18.04) come with buildah 1.17.0 installed. If you are not using these environments, you must first [install buildah](https://github.com/containers/buildah/blob/master/install.md).
After building your image, use [push-to-registry](https://github.com/redhat-actions/push-to-registry) to push the image and make it pullable.
## Action Inputs ## Action Inputs
<table> <table>
@ -122,7 +124,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Buildah Action - name: Buildah Action
uses: redhat-actions/buildah-action@v1 uses: redhat-actions/buildah-build@v1
with: with:
image: my-new-image image: my-new-image
tag: v1 tag: v1
@ -161,7 +163,7 @@ jobs:
- run: mvn package - run: mvn package
- name: Build Image - name: Build Image
uses: redhat-actions/buildah-action@v1 uses: redhat-actions/buildah-build@v1
with: with:
base-image: docker.io/fabric8/java-alpine-openjdk11-jre base-image: docker.io/fabric8/java-alpine-openjdk11-jre
image: my-new-image image: my-new-image

View file

@ -1,4 +1,4 @@
name: 'Buildah Action' name: 'Buildah Build'
description: 'This action allows you to build an image from your app' description: 'This action allows you to build an image from your app'
author: 'Red Hat' author: 'Red Hat'
branding: branding:

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

2
package-lock.json generated
View file

@ -1,5 +1,5 @@
{ {
"name": "buildah-action", "name": "buildah-build",
"version": "0.0.1", "version": "0.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,

View file

@ -1,7 +1,11 @@
{ {
"name": "buildah-action", "name": "buildah-build",
"version": "0.0.1", "version": "0.0.1",
"description": "Action for building OCI-compatible images using buildah", "description": "Action for building OCI-compatible images using buildah",
"repository": {
"type": "git",
"url": "https://github.com/redhat-actions/buildah-build"
},
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"compile": "tsc -p .", "compile": "tsc -p .",