Skip to content

Build pmpd image

Build pmpd image #2

Workflow file for this run

name: "Build pmpd image"
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build pmpd
uses: ./.github/actions/build-and-sign
with:
registry: ${{ env.REGISTRY }}
image: ${{ github.actor }}/pmpd
dockerfile: build/pmpd/pmpd.Dockerfile
context: build/pmpd