Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
chore: upload Docker image as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
ziteh authored Oct 3, 2024
1 parent 15beff0 commit c1be300
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ jobs:
- name: Build
run: docker build -t hie:${{ github.sha }} .

- name: Save Docker image
run: docker save hie:${{ github.sha }} -o hie_${{ github.sha }}.tar

- name: Upload Docker image as artifact
uses: actions/upload-artifact@v4
with:
name: docker-image
path: hie_${{ github.sha }}.tar

- name: Run
run: |
docker run -d --name hie -p 5888:3000 hie:${{ github.sha }}
Expand Down

0 comments on commit c1be300

Please sign in to comment.