diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 9df1133799..5b021a1019 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -17,6 +17,11 @@ jobs: with: go-version: '1.17.6' - run: GOOS=linux GOARCH=amd64 go build -o artifacts/pipecd ./cmd/pipecd + - run: GOOS=linux GOARCH=amd64 go build -o artifacts/piped ./cmd/piped + - run: GOOS=linux GOARCH=amd64 go build -o artifacts/launcher ./cmd/launcher + - run: GOOS=linux GOARCH=amd64 go build -o artifacts/pipectl ./cmd/pipectl + - run: GOOS=linux GOARCH=amd64 go build -o artifacts/helloworld ./cmd/helloworld + test: runs-on: ubuntu-latest steps: @@ -24,4 +29,4 @@ jobs: - uses: actions/setup-go@v2 with: go-version: '1.17.6' - - run: go test ./... + - run: go test ./pkg/... ./cmd/... diff --git a/.github/workflows/publish-artifacts.yaml b/.github/workflows/publish-artifacts.yaml index 30ddfca0c3..d1e8298569 100644 --- a/.github/workflows/publish-artifacts.yaml +++ b/.github/workflows/publish-artifacts.yaml @@ -34,4 +34,4 @@ jobs: with: push: true file: cmd/pipecd/Dockerfile - tags: pipecd:${{ github.ref_name }} + tags: ${{ env.REGISTRY }}/pipe-cd/pipecd:${{ github.ref_name }}