File tree Expand file tree Collapse file tree
auth-service/src/main/java/com/devloger/authservice/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ jobs:
2727
2828 - name : Activate service account explicitly
2929 run : |
30- echo ' ${{ secrets.GCP_CREDENTIALS }}' > /tmp/key.json
30+ echo " ${{ secrets.GCP_CREDENTIALS_BASE64 }}" | base64 -d > /tmp/key.json
3131 gcloud auth activate-service-account --key-file=/tmp/key.json
3232 gcloud config set project ${{ secrets.PROJECT_ID }}
3333 gcloud config set compute/region ${{ secrets.REGION }}
3434 gcloud config set compute/zone ${{ secrets.ZONE }}
3535
36+
3637 - name : Authenticate Docker to Artifact Registry
3738 run : gcloud auth configure-docker asia-northeast3-docker.pkg.dev --quiet
3839
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class AuthController {
2222
2323 @ GetMapping ("/test" )
2424 public ResponseEntity <String > test () {
25- return ResponseEntity .ok ("Hello, World!! " );
25+ return ResponseEntity .ok ("Hello, World!" );
2626 }
2727
2828 @ PostMapping ("/signup" )
You can’t perform that action at this time.
0 commit comments