Compare commits
No commits in common. "48ad6073a16a61542008b6512a22d27ad397f1fc" and "5b458e14d5ad695da0ac1c5229c872518bc9c016" have entirely different histories.
48ad6073a1
...
5b458e14d5
@ -1,12 +1,23 @@
|
|||||||
name: Build Multiarch Container Image
|
name: Build Container Image
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
call-reusable-workflow:
|
build-container:
|
||||||
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
|
runs-on: buildah-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build image
|
||||||
|
id: build-image
|
||||||
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
repository: ${{ gitea.repository }}
|
image: docker.io/thallian/alpine-s6
|
||||||
ref_name: ${{ gitea.ref_name }}
|
tags: ${{ gitea.ref_name }} ${{ gitea.sha }} latest
|
||||||
sha: ${{ gitea.sha }}
|
platforms: linux/aarch64, linux/x86_64
|
||||||
registry_url: ${{ secrets.REGISTRY_URL }}
|
containerfiles: |
|
||||||
registry_user: ${{ secrets.REGISTRY_USER }}
|
./Containerfile
|
||||||
registry_pw: ${{ secrets.REGISTRY_PW }}
|
- name: Log in to Dockerhub
|
||||||
|
uses: redhat-actions/podman-login@v1
|
||||||
|
with:
|
||||||
|
registry: docker.io
|
||||||
|
username: ${{ secrets.DOCKERHUB_USER }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_PW }}
|
||||||
|
11
.woodpecker.yml
Normal file
11
.woodpecker.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
pipeline:
|
||||||
|
publish-docker-image:
|
||||||
|
image: plugins/kaniko
|
||||||
|
settings:
|
||||||
|
repo: docker.io/thallian/alpine-s6
|
||||||
|
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USER
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PW
|
Loading…
Reference in New Issue
Block a user