Skip to content

Commit

Permalink
refactor: first run-up of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanlakhani committed May 31, 2023
1 parent 55ddb91 commit f7171f5
Show file tree
Hide file tree
Showing 24 changed files with 244 additions and 312 deletions.
11 changes: 6 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

!**/Cargo.toml
!**/Cargo.lock

# only include runtime binary
homestar-core
homestar-guest-wasm
homestar-wasm
!**/src
!**/config
!**/migrations
!.env
!diesel.toml
!**/wits
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: Docker Build
uses: docker/build-push-action@v4
with:
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/homestar:latest
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/homestar:latest,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max
file: docker/Dockerfile
context: .
platforms: linux/amd64, linux/arm64
Expand Down
Loading

0 comments on commit f7171f5

Please sign in to comment.