Compare commits

...

10 Commits

Author SHA1 Message Date
48ad6073a1
yaml instead of yml
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 1m17s
2023-12-13 10:01:26 +01:00
b5bafe81ad
proper shared workflow path 2023-12-13 10:00:51 +01:00
965511ec23
try shared workflow 2023-12-13 09:58:49 +01:00
68892d8864
try sharedf workflow 2023-12-13 09:58:01 +01:00
2579d00255
try again 2023-12-13 01:24:26 +01:00
de9aca741a
make action config generic 2023-12-13 01:18:46 +01:00
1893984702
remove woodpecker config 2023-12-13 01:17:37 +01:00
e9158f00b8
try pushing image
Some checks failed
Build Container Image / build-container (push) Has been cancelled
2023-12-13 01:13:57 +01:00
aabc3ec759
try pushing image 2023-12-13 01:11:44 +01:00
f746df6d27
back to archs 2023-12-13 00:55:56 +01:00
2 changed files with 10 additions and 32 deletions

View File

@ -1,23 +1,12 @@
name: Build Container Image
name: Build Multiarch Container Image
on: [push]
jobs:
build-container:
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:
image: docker.io/thallian/alpine-s6
tags: ${{ gitea.ref_name }} ${{ gitea.sha }} latest
platforms: linux/aarch64, linux/x86_64
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 }}
call-reusable-workflow:
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
sha: ${{ gitea.sha }}
registry_url: ${{ secrets.REGISTRY_URL }}
registry_user: ${{ secrets.REGISTRY_USER }}
registry_pw: ${{ secrets.REGISTRY_PW }}

View File

@ -1,11 +0,0 @@
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