CI: add a step for jesec/rtorrent-flood rolling image

This commit is contained in:
Jesse Chan
2020-12-11 19:51:25 +08:00
parent 4f46c0ee40
commit 756b2e2ebb
+17 -2
View File
@@ -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