Skip to content

Commit

Permalink
mod: add release workflow (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 authored Sep 7, 2022
1 parent 1dd39bd commit 5c65970
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Http-Gateway-Release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Http-Gateway-Release
on:
push:
branches:
- master
release:
types:
- published
jobs:
release-image:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -30,4 +30,4 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: vesoft/nebula-http-gateway:nightly
tags: vesoft/nebula-http-gateway:3.2.0
33 changes: 33 additions & 0 deletions .github/workflows/Http-Gateway-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Http-Gateway-nightly
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-gateway:nightly

0 comments on commit 5c65970

Please sign in to comment.