name: Build Pogdark API on: push: branches: - master pull_request: branches: - master jobs: build: name: Build Pogdark API runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Build Docker Image run: | docker build -t localhost:5000/pogdark-api:latest . - name: Push Docker Image to Local Registry run: | docker push localhost:5000/pogdark-api:latest