Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koush authored Jun 8, 2023
1 parent b5cc138 commit f6baf99
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
build:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
matrix:
BASE: ["18-jammy-full", "18-jammy-lite", "18-jammy-thin"]
Expand All @@ -38,8 +38,19 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up SSH
uses: MrSquaare/ssh-setup-action@v2
with:
host: 192.168.2.124
private-key: ${{ secrets.KOUSHIK_MACSTUDIO_SSH_PRIVATE_KEY }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/armhf
append: |
- endpoint: ssh://[email protected]
platforms: linux/arm64
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down

0 comments on commit f6baf99

Please sign in to comment.