Skip to content

Commit

Permalink
Remove org path from artifact build command (#158)
Browse files Browse the repository at this point in the history
* Remove org path

- Use explicit package name instead of full org path
- Move docker build flow above npm package in terms of priority

Signed-off-by: Nana-EC <[email protected]>
  • Loading branch information
Nana-EC authored Jun 3, 2022
1 parent f8d6053 commit d145b0b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Produce artifact
run: tar -czf ${{ github.repository }}.tgz -C ./packages .

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ env.MODULE }}
path: ./*.tgz
if-no-files-found: error

- name: Build and push images
uses: docker/build-push-action@v2
with:
Expand All @@ -50,3 +40,13 @@ jobs:
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{env.TAG}}

- name: Produce artifact
run: tar -czf hedera-json-rpc-relay.tgz -C ./packages .

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ env.MODULE }}
path: ./*.tgz
if-no-files-found: error

0 comments on commit d145b0b

Please sign in to comment.