From f56e320a9e629b6681cc230a98142a840ac2310d Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Wed, 13 Jan 2021 12:10:18 +0800 Subject: [PATCH] Dockerfile.rtorrent: revert ARG to the start --- .github/workflows/publish-rolling.yml | 6 +++--- Dockerfile.rtorrent | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-rolling.yml b/.github/workflows/publish-rolling.yml index 43034425..756018e1 100644 --- a/.github/workflows/publish-rolling.yml +++ b/.github/workflows/publish-rolling.yml @@ -76,14 +76,14 @@ jobs: - name: Publish flood to Docker Hub uses: docker/build-push-action@v2 with: - build-args: | - PACKAGE=@jesec/flood - VERSION=${{ steps.parse_version.outputs.BUILD_VERSION }} context: . file: ./Dockerfile.release platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true tags: jesec/flood:master + build-args: | + PACKAGE=@jesec/flood + VERSION=${{ steps.parse_version.outputs.BUILD_VERSION }} - run: sleep 10 diff --git a/Dockerfile.rtorrent b/Dockerfile.rtorrent index 95a9c5f3..f747c95a 100644 --- a/Dockerfile.rtorrent +++ b/Dockerfile.rtorrent @@ -1,9 +1,8 @@ +ARG FLOOD_VERSION=latest ARG RTORRENT_VERSION=latest FROM jesec/rtorrent:$RTORRENT_VERSION as rtorrent -ARG FLOOD_VERSION=latest - FROM jesec/flood:$FLOOD_VERSION as flood # Install rTorrent