From 53869e2ef3d0046c9305e8e4add97311e53304ed Mon Sep 17 00:00:00 2001 From: EdenWuyifan Date: Wed, 12 Jul 2023 18:22:20 -0400 Subject: [PATCH] add github action --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..e29a35fc --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: ci + +on: + push: + branches: + - "devel" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - + name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + push: true + tags: ghcr.io/vida-nyu/alpha-automl:0.3.0.dev0 +