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

Commit

Permalink
chore: Docker CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ziteh committed Oct 3, 2024
1 parent c5f5bcb commit 6897567
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Print Docker version
run: docker version
# - name: Print Docker version
# run: docker version

- name: Build and push
uses: docker/build-push-action@v6
with:
push: false
load: true
tags: hie:${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
Expand All @@ -52,6 +53,8 @@ jobs:
# name: docker-image
# path: hie_${{ github.sha }}.tar

- run: docker image ls

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

0 comments on commit 6897567

Please sign in to comment.