chore: update setup-docker.yml #4
This file contains hidden or 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: CI with Docker | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Docker | |
| uses: docker/setup-buildx-action@v2 | |
| - name: Install Docker version | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install docker-ce | |
| - name: Run Docker commands | |
| run: | | |
| docker --version |