Create docker image on release

This commit is contained in:
Esteban Sánchez 2020-10-24 10:40:20 +02:00
parent 9a19f46b7e
commit ef12d46431

View file

@ -3,6 +3,8 @@ name: Docker
on: on:
push: push:
branches: [ master ] branches: [ master ]
release:
types: [ created ]
jobs: jobs:
build: build:
@ -24,4 +26,4 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
push: true push: true
tags: esanchezm/prometheus-qbittorrent-exporter:latest tags: esanchezm/prometheus-qbittorrent-exporter:latest,esanchezm/prometheus-qbittorrent-exporter:$GITHUB_REF