Skip to content

building container (bootc) #10

building container (bootc)

building container (bootc) #10

name: build container (bootc)
run-name: building container (bootc)
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run podman build - base
run: |
podman build -t ghcr.io/gbraad-homelab/forgejo-bootc:latest \
--build-arg=ADMIN_PASSWD="password" \
--build-arg=BASE_IMAGE="ghcr.io/gbraad-homelab/private-base/bootc" \
--build-arg=BASE_VERSION="latest" \
-f containers/Containerfile .
- name: Push image to ghcr.io - base
run: |
podman push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} \
ghcr.io/gbraad-homelab/forgejo-bootc:latest