Skip to content

Commit

Permalink
Docker on macos-14 (image, not OS) isn't supported, so build x86_64 only
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Kuzminskyi committed Jul 20, 2024
1 parent bc10183 commit a3b229c
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
# os: ["ubuntu-latest", "macos-14"]
os: ["macos-14"]

os: ["ubuntu-latest", "macos-14"]
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand All @@ -25,25 +23,6 @@ jobs:
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: "Install Docker"
if: "${{matrix.os == 'macos-14'}}"
run: |
brew install docker
brew install colima
brew services start colima
# colima start
# wget -q https://desktop.docker.com/mac/main/arm64/Docker.dmg
# sudo hdiutil attach Docker.dmg
# sudo /Volumes/Docker/Docker.app/Contents/MacOS/install --accept-license
# sudo hdiutil detach /Volumes/Docker
# echo "/Applications/Docker.app/Contents/Resources/bin" >> $GITHUB_PATH

- name: "Setup tmate session"
uses: "mxschmitt/action-tmate@v3"
if: "${{matrix.os == 'macos-14'}}"
with:
limit-access-to-actor: true

- name: "Log in to Docker Hub"
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
Expand Down

0 comments on commit a3b229c

Please sign in to comment.