Skip to content

Commit

Permalink
Add CI for feature server Docker image (#1925)
Browse files Browse the repository at this point in the history
* Add CI for feature server Docker image

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

* Modify Github action to use docker CLI

Signed-off-by: Felix Wang <wangfelix98@gmail.com>
  • Loading branch information
felixwang9817 authored Oct 8, 2021
1 parent 08232f7 commit 1e4caea
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_feature_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build_feature_server_aws

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/feature_servers/aws_lambda/Dockerfile \
--tag feastdev/feature-server:`git rev-parse HEAD` \
.
docker push feastdev/feature-server:`git rev-parse HEAD`

0 comments on commit 1e4caea

Please sign in to comment.