From 84d8126a668ef9c3251fa91ed1e11ba3df8c7a07 Mon Sep 17 00:00:00 2001 From: Stuart Stent Date: Thu, 11 Aug 2022 08:06:50 -0400 Subject: [PATCH] adding binary and build --- .github/workflows/dante.yml | 3 ++ .github/workflows/fitbit-collect.yml | 3 ++ .github/workflows/garminexport.yml | 5 ++-- .github/workflows/gitea.yml | 2 ++ .github/workflows/github-backup.yml | 2 ++ .github/workflows/gitolite.yml | 2 ++ .github/workflows/lufi.yml | 2 ++ .github/workflows/portfwd.yml | 2 ++ .github/workflows/rsync.yml | 2 ++ .github/workflows/seaweedfs.yml | 42 ++++++++++++++++++++++++++++ seaweedfs/Dockerfile | 0 11 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/seaweedfs.yml create mode 100644 seaweedfs/Dockerfile diff --git a/.github/workflows/dante.yml b/.github/workflows/dante.yml index 8467045..c593de6 100644 --- a/.github/workflows/dante.yml +++ b/.github/workflows/dante.yml @@ -50,4 +50,7 @@ jobs: tags: ghcr.io/sstent/dante:latest build-args: | RELEASE=v0.3.5 + cache-from: type=gha + cache-to: type=gha,mode=max + diff --git a/.github/workflows/fitbit-collect.yml b/.github/workflows/fitbit-collect.yml index 686b3b1..3748a9a 100644 --- a/.github/workflows/fitbit-collect.yml +++ b/.github/workflows/fitbit-collect.yml @@ -37,4 +37,7 @@ jobs: push: true file: fitbit-collect/Dockerfile tags: ghcr.io/sstent/fitbit-collect:latest + cache-from: type=gha + cache-to: type=gha,mode=max + \ No newline at end of file diff --git a/.github/workflows/garminexport.yml b/.github/workflows/garminexport.yml index 4dec21d..f514bd0 100644 --- a/.github/workflows/garminexport.yml +++ b/.github/workflows/garminexport.yml @@ -36,5 +36,6 @@ jobs: platforms: linux/arm/v7, Linux/amd64, linux/arm64/v8 push: true tags: ghcr.io/sstent/garminexport:latest - - \ No newline at end of file + cache-from: type=gha + cache-to: type=gha,mode=max + \ No newline at end of file diff --git a/.github/workflows/gitea.yml b/.github/workflows/gitea.yml index d5c5378..7b1f69f 100644 --- a/.github/workflows/gitea.yml +++ b/.github/workflows/gitea.yml @@ -36,4 +36,6 @@ jobs: platforms: linux/arm/v7 push: true tags: ghcr.io/sstent/gitea:latest + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file diff --git a/.github/workflows/github-backup.yml b/.github/workflows/github-backup.yml index d42f206..7a1df0f 100644 --- a/.github/workflows/github-backup.yml +++ b/.github/workflows/github-backup.yml @@ -37,4 +37,6 @@ jobs: push: true file: github-backup/Dockerfile tags: ghcr.io/sstent/github-backup:latest + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file diff --git a/.github/workflows/gitolite.yml b/.github/workflows/gitolite.yml index 79685e6..e5ec5cb 100644 --- a/.github/workflows/gitolite.yml +++ b/.github/workflows/gitolite.yml @@ -36,4 +36,6 @@ jobs: platforms: linux/arm/v7, Linux/amd64, linux/arm64/v8 push: true tags: ghcr.io/sstent/gitolite:latest + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file diff --git a/.github/workflows/lufi.yml b/.github/workflows/lufi.yml index 6e79e9e..bc903b3 100644 --- a/.github/workflows/lufi.yml +++ b/.github/workflows/lufi.yml @@ -37,4 +37,6 @@ jobs: push: true file: lufi/Dockerfile tags: ghcr.io/sstent/lufi:latest + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file diff --git a/.github/workflows/portfwd.yml b/.github/workflows/portfwd.yml index 4f45dcd..b239a40 100644 --- a/.github/workflows/portfwd.yml +++ b/.github/workflows/portfwd.yml @@ -36,4 +36,6 @@ jobs: platforms: linux/arm/v7 push: true tags: ghcr.io/sstent/portfwd:latest + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file diff --git a/.github/workflows/rsync.yml b/.github/workflows/rsync.yml index f604a14..6bd3358 100644 --- a/.github/workflows/rsync.yml +++ b/.github/workflows/rsync.yml @@ -38,4 +38,6 @@ jobs: tags: ghcr.io/sstent/rsync:latest build-args: | RELEASE=v0.3.9 + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/.github/workflows/seaweedfs.yml b/.github/workflows/seaweedfs.yml new file mode 100644 index 0000000..6137279 --- /dev/null +++ b/.github/workflows/seaweedfs.yml @@ -0,0 +1,42 @@ +on: + workflow_dispatch: + push: + branches: [ master ] + paths: + - 'seaweedfs/*' + - '.github/workflows/seaweedfs.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: gitea/ + platforms: linux/arm/v7, linux/arm64/v8 + push: true + tags: ghcr.io/sstent/seaweedfs:latest + cache-from: type=gha + cache-to: type=gha,mode=max + \ No newline at end of file diff --git a/seaweedfs/Dockerfile b/seaweedfs/Dockerfile new file mode 100644 index 0000000..e69de29