Skip to content

Commit

Permalink
ci: try self-hosted arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
adamblake committed Dec 17, 2024
1 parent d84d32f commit 18f2012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,30 +80,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Docker CLI and Daemon
if: runner.os == 'macOS' && runner.arch == 'ARM64'
run: |
brew install --formula docker
nohup dockerd > /tmp/dockerd.log 2>&1 &
sleep 5
echo "Docker daemon started"
- name: Verify Docker
run: docker version

# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# Start Docker Registry Manually
- name: Start Local Docker Registry
run: |
docker run -d --name registry -p 5000:5000 registry:2
# Verify Registry is Running
- name: Verify Local Registry
run: |
curl -v http://localhost:5000/v2/
docker run -d --name actions-registry -p 5003:5000 registry:2
# https://github.com/prefix-dev/setup-pixi
- uses: prefix-dev/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: ./.github/workflows/build-test-publish.yml
secrets: inherit
with:
runs-on: macos-latest
runs-on: macos-arm64
image: foundation
target: base
no-cache: ${{ github.event_name == 'schedule' }}
Expand Down

0 comments on commit 18f2012

Please sign in to comment.