Skip to content

docker: update debian base image to 12.5 #25

docker: update debian base image to 12.5

docker: update debian base image to 12.5 #25

Workflow file for this run

name: Build fcode-utils
on: [push, workflow_dispatch]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-x86_64:
runs-on: ubuntu-latest
name: fcode-utils for x86_64
steps:
- name: Checkout fcode-utils
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build fcode-utils
uses: docker://ghcr.io/openbios/fcode-utils-builder:master
with:
args: "bash -c \"mkdir -p $(pwd)/build-$(uname -m) && make && make DESTDIR=$(pwd)/build-$(uname -m) install\""
- name: Copy localvalues
uses: docker://ghcr.io/openbios/fcode-utils-builder:master
with:
args: "bash -c \"cp -R localvalues build-$(uname -m)\""
- name: Store x86_64 artifacts
uses: actions/upload-artifact@v4
with:
name: fcode-utils-x86_64
path: |
build-x86_64
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}