Skip to content

Commit 26649c1

Browse files
authored
Add artifact build and upload logic to release logic (#151)
Signed-off-by: Nana-EC <[email protected]>
1 parent 0c701c0 commit 26649c1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release-production.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ jobs:
3232
- name: Set up Docker Buildx
3333
uses: docker/setup-buildx-action@v2
3434

35+
- name: Produce artifact
36+
run: tar -czf ${{ github.repository }}.tgz -C ./packages .
37+
38+
- name: Upload artifact
39+
uses: actions/upload-artifact@v2
40+
with:
41+
name: ${{ env.MODULE }}
42+
path: ./*.tgz
43+
if-no-files-found: error
44+
3545
- name: Build and push images
3646
uses: docker/build-push-action@v2
3747
with:

0 commit comments

Comments
 (0)