-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,12 @@ jobs: | |
image: ${{ inputs.image }} | ||
digest: ${{ steps.build.outputs.digest }} | ||
|
||
services: | ||
registry: | ||
image: registry:2 | ||
ports: | ||
- 5000:5000 | ||
|
||
steps: | ||
# https://github.com/jlumbroso/free-disk-space | ||
- name: Free Disk Space (Ubuntu) | ||
|
@@ -80,38 +86,17 @@ 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/ | ||
# https://github.com/prefix-dev/setup-pixi | ||
- uses: prefix-dev/[email protected] | ||
|
||
- name: Update Conda packages | ||
shell: bash | ||
run: pixi update | ||
|
||
# https://github.com/docker/setup-qemu-action | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
# https://github.com/docker/setup-buildx-action | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters