Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jul 27, 2023
1 parent db1bd07 commit 81d4a3f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ on:
jobs:
build:
name: Push Docker image to Docker Hub
# runs-on: self-hosted
runs-on: ubuntu-latest
runs-on: self-hosted
# runs-on: ubuntu-latest
strategy:
matrix:
BASE: ["18-jammy-full", "18-jammy-lite", "18-jammy-thin"]
Expand All @@ -39,28 +39,28 @@ 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.DOCKER_SSH_PRIVATE_KEY }}
- name: Set up SSH
uses: MrSquaare/ssh-setup-action@v2
with:
host: Koushik-MacStudio
private-key: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}

# - name: Set up SSH
# uses: MrSquaare/ssh-setup-action@v2
# with:
# host: 192.168.2.119
# private-key: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}
- name: Set up SSH
uses: MrSquaare/ssh-setup-action@v2
with:
host: raspberrypi
private-key: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# with:
# platforms: linux/arm64,linux/armhf
# append: |
# - endpoint: ssh://koush@192.168.2.124
# # platforms: linux/arm64
# platforms: linux/arm64
# # - endpoint: ssh://koush@192.168.2.119
# # platforms: linux/armhf
with:
platforms: linux/arm64,linux/armhf
append: |
- endpoint: ssh://koush@Koushik-MacStudio
# platforms: linux/arm64
platforms: linux/arm64
- endpoint: ssh://koush@raspberrypi
platforms: linux/armhf
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down

0 comments on commit 81d4a3f

Please sign in to comment.