Compare commits
10 Commits
5b458e14d5
...
48ad6073a1
Author | SHA1 | Date | |
---|---|---|---|
48ad6073a1 | |||
b5bafe81ad | |||
965511ec23 | |||
68892d8864 | |||
2579d00255 | |||
de9aca741a | |||
1893984702 | |||
e9158f00b8 | |||
aabc3ec759 | |||
f746df6d27 |
@ -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 }}
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user