From 28040a922b5ce54f01534a719342ec5caf96bab1 Mon Sep 17 00:00:00 2001 From: Stuart Stent Date: Mon, 18 Oct 2021 16:55:09 -0400 Subject: [PATCH] adding build for fitbit grabber --- .github/workflows/fitbit-collect.yml | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/fitbit-collect.yml diff --git a/.github/workflows/fitbit-collect.yml b/.github/workflows/fitbit-collect.yml new file mode 100644 index 0000000..686b3b1 --- /dev/null +++ b/.github/workflows/fitbit-collect.yml @@ -0,0 +1,40 @@ +on: + push: + branches: [ master ] + paths: + - 'fitbit-collect/*' + - '.github/workflows/fitbit-collect.yml' + pull_request: + branches: [ master ] + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2 + + - + name: Log into registry + uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - + name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: fitbit-collect/ + platforms: linux/arm/v7 + push: true + file: fitbit-collect/Dockerfile + tags: ghcr.io/sstent/fitbit-collect:latest + \ No newline at end of file