Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
Skip arm due to image issue.
  • Loading branch information
sytone authored Sep 26, 2023
1 parent a8b2075 commit 1f0a78e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ jobs:
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:buildcache_amd64
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:buildcache_amd64,mode=max

- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: dockerfile.arm64
platforms: linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:arm64
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:buildcache_arm64
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:buildcache_arm64,mode=max
# - name: Build and push Docker images
# uses: docker/build-push-action@v5
#with:
#context: .
#file: dockerfile.arm64
#platforms: linux/arm64
#push: true
#tags: ${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:arm64
#labels: ${{ steps.meta.outputs.labels }}
#cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:buildcache_arm64
#cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/obsidian-remote:buildcache_arm64,mode=max

0 comments on commit 1f0a78e

Please sign in to comment.