mac tst #24
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
name: run.sh | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
# - | |
# name: Set up Docker | |
# uses: crazy-max/ghaction-setup-docker@v3 | |
# # uses: crazy-max/ghaction-setup-containerd@v3 | |
- name: Install Docker | |
run: | | |
brew install --cask docker | |
# - name: Start Docker | |
# run: | | |
# # Start Docker.app if not already running | |
# if ! pgrep -f Docker.app; then | |
# open -a /Applications/Docker.app | |
# # Wait for Docker to be ready | |
# while ! docker info >/dev/null 2>&1; do sleep 1; done | |
# fi | |
- name: Build Docker image (manual) | |
run: docker build -t my-docker-image . |