Skip to content

Update monica:4.1.2-apache Docker digest to 7c3f3dd #38

Update monica:4.1.2-apache Docker digest to 7c3f3dd

Update monica:4.1.2-apache Docker digest to 7c3f3dd #38

Workflow file for this run

name: Test pull
on:
pull_request:
paths:
- Dockerfile
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Check if image exists
run: |
IMAGE_NAME=$(grep -m 1 '^FROM' Dockerfile | sed 's/^FROM\s*\(.*\)/\1/')
echo "Checking image: $IMAGE_NAME"
if docker manifest inspect $IMAGE_NAME > /dev/null 2>&1; then
echo "Image exists"
else
echo "Image does not exist"
exit 1
fi