Comments (2)
If your use case is satisfied by this action, you can use this action to build image and push-to-registry action to push to Github Container Registry (or registry of your choice).
With this action you can also build image without dockerfile. Check this.
But, if you still want to build image typically using shell you can do something like this in your workflow:
- name: Test Build
run: |
#!/bin/sh
ctr=$(buildah from alpine:3)
buildah commit "$ctr" my-alpine-image
As Github Linux runners comes with buildah pre-installed https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#installed-software
Is this what you wanted to ask? or something else?
from buildah-build.
closing pending any further comments
from buildah-build.
Related Issues (20)
- [QUESTION]I'm having difficulty building a multi-arch image because the TARGETPLATFORM variable is not available in older buildah versions.
- [BUG] On ubuntu-latest failed to decode keys warning HOT 1
- [BUG] Check if multiarch manifest already exists, overwrite if so
- [FEATURE] support buildah manifest add
- [BUG]
- [FEATURE] Support `--jobs N` flag on buildah bud HOT 1
- [BUG] invalid mount type "cache" HOT 3
- [FEATURE] Provide image digest HOT 1
- [BUG] Buildah-build fails when previously ran as root HOT 1
- install_latest_buildah.sh no longer valid
- [FEATURE] Matrix Strategy Multi-Arch example HOT 4
- [FEATURE] buildah in container
- [BUG] Buildah not running as root on self hosted runners HOT 3
- [FEATURE] Annotation support HOT 2
- [BUG] In multi-stage builds, incorrect `latest` tag pushed HOT 3
- [BUG] Normalize Tag Name with Lowercasing HOT 1
- [FEATURE] Use podman as fallback for Containerfile/Dockerfile builds when buildah is unavailable HOT 1
- [FEATURE] Upgrade to NODE 20 HOT 2
- Push and login using podman action vs from buildah action?
- [QUESTION] Is `containerfiles` attribute supposed to be paths in relative to the path declared in `context` attribute? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildah-build.