Skip to content

Commit

Permalink
TAG_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaridas authored Dec 19, 2023
1 parent e6385b8 commit 8feca16
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish-hub-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: DockerHub-Release

on:
push:
tags: [ 'v*.*.*' ]
release:
types: [released]
workflow_dispatch:
inputs:
TAG_NAME:
description: 'Tag name that the major tag will point to'
required: true

env:
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}

jobs:
build:
Expand Down Expand Up @@ -40,7 +48,7 @@ jobs:
with:
push: true
platforms: linux/arm/v6,linux/amd64,linux/arm64/v8,linux/arm/v7
tags: tsaridas/stremio-docker:${{ inputs.tag }}, tsaridas/stremio-docker:latest
tags: tsaridas/stremio-docker:${{ env.TAG_NAME }}, tsaridas/stremio-docker:latest
build-args: BRANCH=refactor/video-player
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 8feca16

Please sign in to comment.