From 46f98396b1a9a445bc0cf59a803ca27659b8470b Mon Sep 17 00:00:00 2001 From: Mohamed ElSayed Date: Wed, 23 Oct 2024 11:53:56 +1100 Subject: [PATCH] chore: Fix command --- .github/workflows/test.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0787c0a..e856ae8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,13 +33,8 @@ jobs: aws-iam-role-arn: "arn:aws:iam::305686791668:role/default-github-actions-ci-role" docker-enabled: true docker-context: "." - docker-prefix: gitops-test + docker-prefix: test docker-tag-latest: false docker-image-platforms: linux/amd64 docker-repository: "305686791668.dkr.ecr.ap-southeast-2.amazonaws.com/gitops" - command: | - echo "${{secrets.CLUSTER_KEY}}" | base64 -d > cluster.key - chmod 600 cluster.key - # Add this to ensure the key file is deleted after build - trap "rm -f cluster.key" EXIT - echo "Build Gitops docker image" + command: echo "${{secrets.CLUSTER_KEY}}" | base64 -d > cluster.key