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:
parent
d2e412d840
commit
aba06e32f1
5 changed files with 60 additions and 5 deletions
3
Makefile
3
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue