Introduce a 'fail-on-denial' boolean (#147)

* Introduce a 'fail-on-approval' boolean

* Use test docker image

* oops

* change default and fix logic

* Update action.yaml

* Fix linting error
This commit is contained in:
Liz MacLean 2025-02-14 20:23:48 -05:00 committed by GitHub
parent d2e412d840
commit aba06e32f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 5 deletions

View file

@ -1,4 +1,5 @@
IMAGE_REPO=ghcr.io/trstringer/manual-approval
TARGET_PLATFORM=linux/amd64
.PHONY: build
build:
@ -6,7 +7,7 @@ build:
echo "VERSION is required"; \
exit 1; \
fi
docker build -t $(IMAGE_REPO):$$VERSION .
docker build --platform $(TARGET_PLATFORM) -t $(IMAGE_REPO):$$VERSION .
.PHONY: push
push: