Skip to content

Build processor image #5

Build processor image

Build processor image #5

Workflow file for this run

name: Build processor image
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: make processor
- name: Push tag
run: docker push ghcr.io/scc-digitalhub/digitalhub-serverless/processor:latest-amd64
- name: Clean up
run: docker rmi ghcr.io/scc-digitalhub/digitalhub-serverless/processor:latest-amd64
- name: Prune Docker
run: docker system prune -a -f