-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b19cc8
commit 9c49547
Showing
7 changed files
with
85 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
export PUSH_FLAG="--push" | ||
export BUILD_FLAG="buildx build --platform linux/amd64" | ||
#export TAG=2.0.0 | ||
export TAG=dev | ||
export IMAGE=opendoor/telia-oss-github-pr-resource | ||
if [ "$#" -gt 0 ] | ||
then | ||
PUSH_FLAG="" | ||
BUILD_FLAG="build" | ||
echo To run locally | ||
echo Sample request.in.json and sample.check.json in e2e-opendoor | ||
echo "docker run -it --entrypoint=/bin/sh opendoor/telia-oss-github-pr-resource:dev" | ||
echo "docker run -it --entrypoint=/bin/sh $IMAGE:$TAG" | ||
echo "cd /opt/resources" | ||
echo "cat <request.in.json|request.check.json> | ./in .| ./out .| ./check" | ||
fi | ||
# docker login --username=$DOCKER_USERNAME --password=$DOCKER_PASSWORD | ||
docker $BUILD_FLAG -t opendoor/telia-oss-github-pr-resource:dev . $PUSH_FLAG | ||
docker $BUILD_FLAG -t $IMAGE:$TAG . $PUSH_FLAG | ||
echo Built $IMAGE:$TAG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
note that the ghs_XXXX tokens expire every now ... if you see this in the git repo | ||
its not a security issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters