Skip to content

Commit

Permalink
nits: test retag
Browse files Browse the repository at this point in the history
Signed-off-by: segunjkf <[email protected]>
  • Loading branch information
segunjkf committed Jun 24, 2024
1 parent ec6aca7 commit a123c90
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions .github/workflows/tag-latest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,35 @@
# Preserves the old tag.
name: Docker Latest tag For Releases

# on:
# workflow_dispatch:
# inputs:
# tag:
# description: 'Tag of the base image to use'
# required: true
# type: string
# new_tag:
# description: 'New tag to use'
# default: 'latest'
# required: true
# type: string
# dry_run:
# description: "Don't push the tag to Docker"
# required: true
# type: boolean
# default: false

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag of the base image to use'
required: true
type: string
new_tag:
description: 'New tag to use'
default: 'latest'
required: true
type: string
dry_run:
description: "Don't push the tag to Docker"
required: true
type: boolean
default: false
push:
branches: [main]
tags:
- "*"
merge_group:
pull_request:
branches:
- main
- 'feature/**'
- 'v[0-9]+.[0-9]+'

jobs:
tag-docker-image:
Expand Down

0 comments on commit a123c90

Please sign in to comment.