name: Build and Push harmony proto Docker Image on: workflow_dispatch: jobs: build_and_push: runs-on: ubuntu-latest steps: - name: Checkout harmony core code uses: actions/checkout@v3 with: path: harmony ref: ${{ github.ref }} fetch-depth: 0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to DockerHub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push uses: docker/build-push-action@v3 with: context: ./harmony/api/service/legacysync/downloader file: ./harmony/api/service/legacysync/downloader/Proto.Dockerfile push: true platforms: linux/amd64,linux/arm64 tags: | harmonyone/harmony-proto:latest