Chris Hammer 7f26f849ad
All checks were successful
Docker Build Pipeline / Docker-Build-Pipeline (push) Successful in 4m19s
test actions 8
2024-12-12 18:40:52 -05:00

35 lines
869 B
YAML

name: Docker Build Pipeline
on:
push:
branches:
- gitea-actions
jobs:
Docker-Build-Pipeline:
runs-on: self-hosted
defaults:
run:
working-directory: /home/builds/src
steps:
- name: Cleanup old code
run: rm -rfv *
- name: Clone repository
run: git clone https://gitea.thezengarden.net/podman/ansible-dev.git
- name: Environment check
run: |
hostnamectl
env
whoami
pwd
tree
- name: Build Fedora 39 Docker Image
run: |
cd ansible-dev
docker build --no-cache -f build/Containerfile.fedora39 -t gitea.thezengarden.net/podman/ansible-dev/fedora39:gitea-actions .
docker build --no-cache -f build/Containerfile.centos-stream9 -t gitea.thezengarden.net/podman/ansible-dev/centos9:gitea-actions .