Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu committed Nov 8, 2021
1 parent 090348e commit 4abf16a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 10 deletions.
54 changes: 48 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: release

on:
release:
types:
- published
# release:
# types:
# - published
workflow_dispatch:

concurrency:
group: release
Expand Down Expand Up @@ -98,15 +99,56 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile.${{ matrix.service }}
platforms: linux/amd64,linux/arm64
tags: |
vesoft/nebula-graphd:${{ steps.tagname.outputs.tag }}
vesoft/nebula-graphd:${{ steps.tagname.outputs.majorver }}
vesoft/nebula-graphd:${{ steps.docker.outputs.tag }}
target: graphd
push: true
build-args: |
BRANCH=${{ steps.tagname.outputs.tag }}
- uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile.${{ matrix.service }}
platforms: linux/amd64,linux/arm64
tags: |
vesoft/nebula-${{ matrix.service }}:${{ steps.tagname.outputs.tag }}
vesoft/nebula-${{ matrix.service }}:${{ steps.tagname.outputs.majorver }}
${{ steps.docker.outputs.tag }}
vesoft/nebula-metad:${{ steps.tagname.outputs.tag }}
vesoft/nebula-metad:${{ steps.tagname.outputs.majorver }}
vesoft/nebula-metad:${{ steps.docker.outputs.tag }}
target: metad
push: true
build-args: |
BRANCH=${{ steps.tagname.outputs.tag }}
- uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile.${{ matrix.service }}
platforms: linux/amd64,linux/arm64
tags: |
vesoft/nebula-storaged:${{ steps.tagname.outputs.tag }}
vesoft/nebula-storaged:${{ steps.tagname.outputs.majorver }}
vesoft/nebula-storaged:${{ steps.docker.outputs.tag }}
target: storaged
push: true
build-args: |
BRANCH=${{ steps.tagname.outputs.tag }}
- uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile.${{ matrix.service }}
platforms: linux/amd64,linux/arm64
tags: |
vesoft/nebula-tools:${{ steps.tagname.outputs.tag }}
vesoft/nebula-tools:${{ steps.tagname.outputs.majorver }}
vesoft/nebula-tools:${{ steps.docker.outputs.tag }}
target: tools
push: true
build-args: |
BRANCH=${{ steps.tagname.outputs.tag }}
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: release_test

on:
workflow_dispatch:

release:
types:
- published
concurrency:
group: release
cancel-in-progress: true
Expand All @@ -17,7 +18,7 @@ jobs:
runs-on: self-hosted
# strategy:
# fail-fast: false

steps:
- uses: webiny/action-post-run@2.0.1
with:
Expand Down Expand Up @@ -94,4 +95,4 @@ jobs:
target: tools
push: true
build-args: |
BRANCH=${{ steps.tagname.outputs.tag }}
BRANCH=${{ steps.tagname.outputs.tag }}

0 comments on commit 4abf16a

Please sign in to comment.