From 756b2e2ebb997acdd66d303794c08136a7c36117 Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Fri, 11 Dec 2020 19:51:25 +0800 Subject: [PATCH] CI: add a step for jesec/rtorrent-flood rolling image --- .github/workflows/publish-rolling.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-rolling.yml b/.github/workflows/publish-rolling.yml index 3dbd5ad9..68cf2d2b 100644 --- a/.github/workflows/publish-rolling.yml +++ b/.github/workflows/publish-rolling.yml @@ -63,15 +63,30 @@ jobs: git config --local user.name "github-actions[bot]" npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD` - - name: Publish to Docker Hub + - name: Publish jesec/flood to Docker Hub uses: docker/build-push-action@v2 with: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true + tags: jesec/flood:master + + - run: sleep 10 + + - name: Publish jesec/rtorrent-flood to Docker Hub + uses: docker/build-push-action@v2 + with: + context: . + file: ./Dockerfile.rtorrent + platforms: linux/amd64,linux/arm64 + push: true tags: | - jesec/flood:master + jesec/rtorrent-flood:master + jesec/rtorrent-flood:latest + build-args: | + FLOOD_VERSION=master + RTORRENT_VERSION=master pkg: runs-on: ubuntu-20.04