From c5e3b97b3f4c6f4feff4578bb92bcc4b2fce225c Mon Sep 17 00:00:00 2001 From: bcates277 Date: Thu, 10 Oct 2024 13:01:44 -0400 Subject: [PATCH 1/4] CircleCI.yml update --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6845aa00..e853cd9c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: # Variable expansion in working_directory not supported at this time # You will need to modify the code below to reflect your github account/repo setup - working_directory: /go/src/github.com/Securing-DevOps/invoicer-chapter2 + working_directory: /go/src/github.com/bcates277/invoicer-chapter2 docker: - image: circleci/golang:1.10 steps: From ced1fc4dc0c017f0f2f58a00c2df701ca8742e45 Mon Sep 17 00:00:00 2001 From: bcates277 Date: Thu, 10 Oct 2024 13:28:40 -0400 Subject: [PATCH 2/4] test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 098c60ad..65930e62 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Securing DevOps's invoicer +Securing DevOps's invoicer. ========================== A simple REST API that manages invoices. From 1baea59584602cd3d369eb9abe40f3ee60b6c018 Mon Sep 17 00:00:00 2001 From: bcates277 Date: Thu, 10 Oct 2024 13:32:14 -0400 Subject: [PATCH 3/4] test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 65930e62..098c60ad 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Securing DevOps's invoicer. +Securing DevOps's invoicer ========================== A simple REST API that manages invoices. From 69aa79f37523ed37a03dc2e71edcf6c4c9500e4c Mon Sep 17 00:00:00 2001 From: bcates277 Date: Thu, 10 Oct 2024 13:35:52 -0400 Subject: [PATCH 4/4] changed {} --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e853cd9c..b695bbb2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,11 +38,11 @@ jobs: if [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}; go install --ldflags '-extldflags "-static"' \ - github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}; + github.com/bcates277/invoicer-chapter2; mkdir bin; - cp "$GOPATH_HEAD/bin/${CIRCLE_PROJECT_REPONAME}" bin/invoicer; - docker build -t ${DOCKER_REPO}/${CIRCLE_PROJECT_REPONAME} .; + cp "$GOPATH_HEAD/bin/invoicer-chapter2" bin/invoicer; + docker build -t ${DOCKER_REPO}/invoicer-chapter2 .; docker images --no-trunc | awk '/^app/ {print $3}' | \ sudo tee $CIRCLE_ARTIFACTS/docker-image-shasum256.txt; - docker push ${DOCKER_REPO}/${CIRCLE_PROJECT_REPONAME}; + docker push ${DOCKER_REPO}/invoicer-chapter2; fi