on: [push] jobs: build: runs-on: docker steps: - name: Checkout uses: actions/checkout@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Build and push uses: docker/build-push-action@v2 with: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64 push: true secrets: | GIT_AUTH_TOKEN=${{ secrets.REPO_PUSH }} tags: | git.kakio.us/kakious/fibermonitor:latest git.kakio.us/kakious/fibermonitor:${{ github.sha }}