1
0
test3/.gitea/workflows/custom-containers.yaml
hasslesstech 89b11dee4a
All checks were successful
Build / build-alpine (push) Successful in 10s
Build / build-arch (push) Successful in 16s
Build / build-debian (push) Successful in 52s
Build / build-void (push) Successful in 57s
update workflow
2025-05-24 21:05:40 +03:00

70 lines
2.3 KiB
YAML

name: build-containers
on:
workflow_dispatch:
jobs:
build-debian:
runs-on: hardware
steps:
- name: Pull repository with dockerfiles
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- name: Pull latest official image
run: docker pull debian
- name: Build new image
run: docker build . -f dockerfiles/debian -t 10.5.1.5:5000/prebuilt-images/debian
- name: Push new image to local container registry
run: docker push 10.5.1.5:5000/prebuilt-images/debian
build-arch:
runs-on: hardware
steps:
- name: Pull repository with dockerfiles
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- name: Pull latest official image
run: docker pull archlinux
- name: Build new image
run: docker build . -f dockerfiles/arch -t 10.5.1.5:5000/prebuilt-images/arch
- name: Push new image to local container registry
run: docker push 10.5.1.5:5000/prebuilt-images/arch
build-void:
runs-on: hardware
steps:
- name: Pull repository with dockerfiles
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- name: Pull latest official image
run: docker pull voidlinux/voidlinux
- name: Build new image
run: docker build . -f dockerfiles/void -t 10.5.1.5:5000/prebuilt-images/void
- name: Push new image to local container registry
run: docker push 10.5.1.5:5000/prebuilt-images/void
build-alpine:
runs-on: hardware
steps:
- name: Pull repository with dockerfiles
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- name: Pull latest official image
run: docker pull alpine
- name: Build new image
run: docker build . -f dockerfiles/alpine -t 10.5.1.5:5000/prebuilt-images/alpine
- name: Push new image to local container registry
run: docker push 10.5.1.5:5000/prebuilt-images/alpine