Skip to content

Commit

Permalink
chore: Fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesouky committed Oct 23, 2024
1 parent abb9a79 commit 46f9839
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 46f9839

Please sign in to comment.