Skip to content

Release AdminTools Image #27

Release AdminTools Image

Release AdminTools Image #27

name: Release AdminTools Image
permissions: read-all
on:
workflow_dispatch:
inputs:
commit:
description: "Commit sha"
required: true
tag:
description: "The tag for the new image (e.g. 1.23.4-tctl-1.0-cli-1.0)"
required: true
latest:
type: boolean
description: "Also update latest tag"
required: true
default: false
jobs:
retag-and-release:
name: "Re-tag and release images"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- name: Copy admintools image
env:
COMMIT: ${{ github.event.inputs.commit }}
TAG: ${{ github.event.inputs.tag }}
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PAT }}
IMAGES: admin-tools
SRC_REPO: temporaliotest
DST_REPO: temporalio
LATEST: ${{ github.event.inputs.latest }}
working-directory: ./src
run: go run ./image_copy/main.go