Skip to content

.github/workflows/pre_to_release.yaml #2

.github/workflows/pre_to_release.yaml

.github/workflows/pre_to_release.yaml #2

on:
workflow_dispatch:
inputs:
TAG:
description: 'Tag name to use'
required: false
type: string
env:
TAG: ${{ inputs.TAG }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run dockerhub-latest-release
run: make github-latest-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}