Skip to content

Commit

Permalink
GitHub Actions: instalar docker no MacOS-11.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbullajr committed May 9, 2024
1 parent b4bbe4c commit 65d107d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test Only

on:
push:
branches-ignore: [ "main" ]
branches-ignore: [ "main", "docker-macos" ]

env:
IMAGE_TAG: gh-${{github.run_number}}
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/teste-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:

- name: Install Docker
run: |
#brew install colima
#brew services start colima
brew install --cask docker
brew install colima
brew services start colima
docker ps -a
#brew install --cask docker
#brew services restart colima
# For testcontainers to find the Colima socket
# https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running
Expand Down Expand Up @@ -60,11 +61,11 @@ jobs:

- name: Publish MacOS images to ghcr.io
run: |
docker tag ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_TAG}} ghcr.io/larc-logs-transparentes/bu-service:latest
docker tag ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_TAG}}
docker push --all-tags ghcr.io/larc-logs-transparentes/bu-service
docker tag ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_TAG}} ghcr.io/larc-logs-transparentes/back-pub:latest
docker tag ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_TAG}}
docker push --all-tags ghcr.io/larc-logs-transparentes/back-pub
docker tag ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_TAG}} ghcr.io/larc-logs-transparentes/frontend:latest
docker tag ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_TAG}}
docker push --all-tags ghcr.io/larc-logs-transparentes/frontend
docker tag ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_TAG}} ghcr.io/larc-logs-transparentes/tlmanager:latest
docker tag ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_TAG}}
docker push --all-tags ghcr.io/larc-logs-transparentes/tlmanager

0 comments on commit 65d107d

Please sign in to comment.