From fd199222114380047b72d137c22bf1d3da630a60 Mon Sep 17 00:00:00 2001 From: Felix Wang Date: Mon, 25 Oct 2021 20:08:55 -0700 Subject: [PATCH] Add CI for building FTS Signed-off-by: Felix Wang --- .../build_feature_transformation_server.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build_feature_transformation_server.yml diff --git a/.github/workflows/build_feature_transformation_server.yml b/.github/workflows/build_feature_transformation_server.yml new file mode 100644 index 0000000000..ff5e0aada7 --- /dev/null +++ b/.github/workflows/build_feature_transformation_server.yml @@ -0,0 +1,28 @@ +name: build_feature_transformation_server + +on: + push: + branches: + - master + +jobs: + build-docker-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + run: | + docker build \ + --file sdk/python/feast/infra/transformation_servers/Dockerfile \ + --tag feastdev/feature-transformation-server:`git rev-parse HEAD` \ + . + docker push feastdev/feature-transformation-server:`git rev-parse HEAD`