diff --git a/.github/workflows/act.yml b/.github/workflows/act.yml index b5cb8638..b6a8e55a 100644 --- a/.github/workflows/act.yml +++ b/.github/workflows/act.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v3 - name: Build and push Docker image run: | - docker build -t src/sample-go-docker . + docker build -t src/sample-go-docker/Dockerfile . docker push src/sample-go-docker # - name: Deploy to Render.com # uses: render-actions/deploy@v1 diff --git a/src/sample-go-docker/main_test.go b/src/sample-go-docker/main_test.go index d1f883fc..665a56cb 100644 --- a/src/sample-go-docker/main_test.go +++ b/src/sample-go-docker/main_test.go @@ -21,7 +21,7 @@ func TestHandler(t *testing.T) { status, http.StatusOK) } - expected := "Hello, World!" + expected := "Victor!" if rr.Body.String() != expected { t.Errorf("handler returned unexpected body: got %v want %v", rr.Body.String(), expected)