try to build multiarch with buildah
This commit is contained in:
parent
231ace296d
commit
fc77fb0628
@ -1,19 +1,25 @@
|
|||||||
name: Gitea Actions Demo
|
name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- name: Build image
|
||||||
- name: List files in the repository
|
id: build-image
|
||||||
run: |
|
uses: redhat-actions/buildah-build@v2
|
||||||
ls ${{ gitea.workspace }}
|
with:
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
image: docker.io/thallian/alpine-s6
|
||||||
|
tags: ${{ gitea.ref_name }} latest
|
||||||
|
archs: amd64
|
||||||
|
containerfiles: |
|
||||||
|
./Containerfile
|
||||||
|
- name: Log in to Dockerhub
|
||||||
|
uses: redhat-actions/podman-login@v1
|
||||||
|
with:
|
||||||
|
registry: docker.io
|
||||||
|
username: ${{ secrets.DOCKERHUB_USER }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_PW }}
|
||||||
|
Loading…
Reference in New Issue
Block a user