Skip to content

Commit

Permalink
Merge pull request #8 from walnuts1018/walnuts1018-patch-1
Browse files Browse the repository at this point in the history
Update docker.yaml
  • Loading branch information
walnuts1018 authored Jan 25, 2024
2 parents 056d3a9 + 0ef57b2 commit 0a3da39
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,29 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
#cache-to: type=gha,mode=max
tags: |
ghcr.io/walnuts1018/walnuts.dev:latest
ghcr.io/walnuts1018/walnuts.dev:${{ github.sha }}-${{ github.run_number }}
- name: Build Docker images for cache (amd64)
uses: docker/build-push-action@v5
with:
push: false
context: .
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build Docker images for cache (arm64)
uses: docker/build-push-action@v5
with:
push: false
context: .
platforms: linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max

SucceessNotification:
if: ${{ success() }}
name: Send Success Message
Expand Down

0 comments on commit 0a3da39

Please sign in to comment.