update workflow
All checks were successful
Build / build-alpine (push) Successful in 9s
Build / build-arch (push) Successful in 18s
Build / build-debian (push) Successful in 43s
Build / build-void (push) Successful in 42s

This commit is contained in:
2025-05-24 21:02:06 +03:00
parent 7bfe307c3b
commit bec3545bbc
5 changed files with 54 additions and 14 deletions

View File

@@ -2,22 +2,44 @@ name: build-containers
on:
workflow_dispatch:
inputs:
required:
description: a required input
required: true
with_default:
description: an input with default
required: false
default: default
boolean:
description: an input of type boolean
required: false
type: boolean
jobs:
build-debian:
runs-on: hardware
steps:
- run: echo "helo ${{ required }}"
- run: docker pull debian
- 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 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 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 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