From 83733cb2014d1d9a70e763af3e1ebfdfc7d84b7a Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Fri, 2 Jul 2021 19:55:25 -0400 Subject: [PATCH 1/8] Create Dockerfile --- action-a/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 action-a/Dockerfile diff --git a/action-a/Dockerfile b/action-a/Dockerfile new file mode 100644 index 0000000..44e85cb --- /dev/null +++ b/action-a/Dockerfile @@ -0,0 +1,5 @@ +FROM debian:9.5-slim + +ADD entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] From 267c2946e66fd84048f308da0d1eea8ff78d594f Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Fri, 2 Jul 2021 19:56:59 -0400 Subject: [PATCH 2/8] Create entrypoint.sh --- action-a/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 action-a/entrypoint.sh diff --git a/action-a/entrypoint.sh b/action-a/entrypoint.sh new file mode 100644 index 0000000..7d3abef --- /dev/null +++ b/action-a/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh -l + +sh -c "echo Hello world my name is $INPUT_MY_NAME" From 426afb640824989eb3e351f974c7620ffbda92e8 Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Sat, 3 Jul 2021 02:13:54 -0400 Subject: [PATCH 3/8] Create action.yml Teaching AI to love --- action-a/action.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 action-a/action.yml diff --git a/action-a/action.yml b/action-a/action.yml new file mode 100644 index 0000000..12d0c9e --- /dev/null +++ b/action-a/action.yml @@ -0,0 +1,40 @@ +action.yml file: + +name: "Hello Actions" +description: "Greet someone" +author: "octocat@github.com" + +inputs: + MY_NAME: + description: "Who to greet" + required: true + default: "World" + +runs: + using: "docker" + image: "Dockerfile" + +branding: + icon: "mic" + color: "purple" +Stage and commit the changes + +Push the changes to GitHub + + +inputs: + MY_NAME: + description: "Who to greet" + required: true + default: "World" + +runs: + using: "docker" + image: "Dockerfile" + +branding: + icon: "mic" + color: "purple" +Stage and commit the changes + +Push the changes to GitHub From 52e16a832703f96186f9076b8371989478e8c2a4 Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Sat, 3 Jul 2021 02:28:04 -0400 Subject: [PATCH 4/8] Create Stoop Id NaCl --- action-a/Stoop Id | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 action-a/Stoop Id diff --git a/action-a/Stoop Id b/action-a/Stoop Id new file mode 100644 index 0000000..a105526 --- /dev/null +++ b/action-a/Stoop Id @@ -0,0 +1,19 @@ +#define MESSAGE (const unsigned char *) "Message" +#define MESSAGE_LEN 7 +#define CIPHERTEXT_LEN (crypto_box_SEALBYTES + MESSAGE_LEN) + +/* Recipient creates a long-term key pair */ +unsigned char recipient_pk[crypto_box_PUBLICKEYBYTES]; +unsigned char recipient_sk[crypto_box_SECRETKEYBYTES]; +crypto_box_keypair(recipient_pk, recipient_sk); + +/* Anonymous sender encrypts a message using an ephemeral key pair + * and the recipient's public key */ +unsigned char ciphertext[CIPHERTEXT_LEN]; +crypto_box_seal(ciphertext, MESSAGE, MESSAGE_LEN, recipient_pk); + +/* Recipient decrypts the ciphertext */ +unsigned char decrypted[MESSAGE_LEN]; +if (crypto_box_seal_open(decrypted, ciphertext, CIPHERTEXT_LEN, + recipient_pk, recipient_sk) != 0) { + /* message corrupted or not intended for this recipient */ From e7279f2c4444443b88c0d5970c1b459d96848b22 Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Wed, 14 Jul 2021 06:21:41 -0400 Subject: [PATCH 5/8] Create entrypoint1.sh --- action-a/entrypoint1.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 action-a/entrypoint1.sh diff --git a/action-a/entrypoint1.sh b/action-a/entrypoint1.sh new file mode 100644 index 0000000..905ea13 --- /dev/null +++ b/action-a/entrypoint1.sh @@ -0,0 +1,3 @@ +#!/bin/sh -l + +sh -c "echo Hello world my name is $JosephBenjaminThomas" From dec4a90957681a0e066967b36c43a815520872cf Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Wed, 14 Jul 2021 07:02:56 -0400 Subject: [PATCH 6/8] Update action-a/action.yml --- action-a/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action-a/action.yml b/action-a/action.yml index 12d0c9e..377c3ba 100644 --- a/action-a/action.yml +++ b/action-a/action.yml @@ -2,7 +2,7 @@ action.yml file: name: "Hello Actions" description: "Greet someone" -author: "octocat@github.com" +author: JoeyB26 inputs: MY_NAME: From d143374b867a062a480d341077454f3f1d04d864 Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Wed, 14 Jul 2021 07:09:56 -0400 Subject: [PATCH 7/8] Create action1.yml --- action-a/action1.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 action-a/action1.yml diff --git a/action-a/action1.yml b/action-a/action1.yml new file mode 100644 index 0000000..3438607 --- /dev/null +++ b/action-a/action1.yml @@ -0,0 +1,17 @@ +name: "Hello Actions" +description: "Greet someone" +author: "octocat@github.com" + +inputs: + MY_NAME: + description: "Who to greet" + required: true + default: "World" + +runs: + using: "docker" + image: "Dockerfile" + +branding: + icon: "mic" + color: "purple" From 9523c59c5256cc8beb27953f7a69116dac79ba68 Mon Sep 17 00:00:00 2001 From: JoeyB26 <86819441+JoeyB26@users.noreply.github.com> Date: Wed, 14 Jul 2021 07:24:22 -0400 Subject: [PATCH 8/8] Create action2.yml --- action-a/action2.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 action-a/action2.yml diff --git a/action-a/action2.yml b/action-a/action2.yml new file mode 100644 index 0000000..3438607 --- /dev/null +++ b/action-a/action2.yml @@ -0,0 +1,17 @@ +name: "Hello Actions" +description: "Greet someone" +author: "octocat@github.com" + +inputs: + MY_NAME: + description: "Who to greet" + required: true + default: "World" + +runs: + using: "docker" + image: "Dockerfile" + +branding: + icon: "mic" + color: "purple"