diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8796d6..4aa1328 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,6 +48,7 @@ jobs: uses: docker/build-push-action@v2 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }},${{ env.IMAGE_NAME }}:latest cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache diff --git a/README.md b/README.md index 4499c24..f1bac70 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Johnjud is a pet adoption web application of the [CUVET For Animal Welfare Club] ### Running 1. Run `docker-compose up -d` -2. Run `make server` or `go run ./src/.` +2. Run `make server` or `go run ./cmd/.` ### Testing 1. Run `make test` or `go test -v -coverpkg ./... -coverprofile coverage.out -covermode count ./...`