Skip to content

Commit

Permalink
chore: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 committed Dec 29, 2020
1 parent 560058f commit 462da2b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/Http-Gateway-Release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 462da2b

Please sign in to comment.