#!/bin/sh set -eu directory="${INPUT_DIRECTORY:-}" os="${INPUT_OS:-"debian"}" directory_runner="$RUNNER_WORKSPACE/$(echo $GITHUB_REPOSITORY | cut -d/ -f2)/$directory" directory_container="$GITHUB_WORKSPACE/$directory" cd "$directory_container" package="$(dpkg-parsechangelog -S Source)" version="$(dpkg-parsechangelog -S Version)" distribution="$(dpkg-parsechangelog -S Distribution | sed 's/UNRELEASED/unstable/')" container="$package-$version" image="$os:$distribution" cat <