Dockerfile.rtorrent: revert ARG to the start

This commit is contained in:
Jesse Chan
2021-01-13 12:10:18 +08:00
parent 7842141ae6
commit f56e320a9e
2 changed files with 4 additions and 5 deletions
+3 -3
View File
@@ -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
+1 -2
View File
@@ -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