From 462da2baeb4132e1a6ebd70f1837c03a05362f2f Mon Sep 17 00:00:00 2001 From: Nut He <18328704+hetao92@users.noreply.github.com> Date: Tue, 29 Dec 2020 17:16:19 +0800 Subject: [PATCH] chore: add github action --- .github/workflows/Http-Gateway-Release.yml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/Http-Gateway-Release.yml diff --git a/.github/workflows/Http-Gateway-Release.yml b/.github/workflows/Http-Gateway-Release.yml new file mode 100644 index 0000000..5edb399 --- /dev/null +++ b/.github/workflows/Http-Gateway-Release.yml @@ -0,0 +1,33 @@ +name: Http-Gateway-Release +on: + push: + branches: + - master +jobs: + release-image: + runs-on: ubuntu-latest + steps: + - + name: Checkout Github Action + uses: actions/checkout@master + + - + 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.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + file: ./Dockerfile + push: true + tags: vesoft/nebula-http-client-v2:latest \ No newline at end of file