temporalio / docker-builds

Temporal service Docker images build
https://hub.docker.com/r/temporaliotest/auto-setup
MIT License
30 stars 59 forks source link

Fix tagging command and add tests #130

Closed mindaugasrukas closed 1 year ago

mindaugasrukas commented 1 year ago

What was changed

Fixed tagging command. Added tests.

Why?

Bugfix

Run tag=$(cd src; go run image_tags/main.go -org temporalio -repo "$REPO" bump "$BUMP")
  tag=$(cd src; go run image_tags/main.go -org temporalio -repo "$REPO" bump "$BUMP")
  echo "tag=$tag" >> $GITHUB_OUTPUT
  shell: /usr/bin/bash -e {0}
  env:
    REPO: base-admin-tools
    BUMP: minor
go: downloading github.com/Masterminds/semver/v3 v3.2.1
2023/06/12 19:14:22 Error parsing version: Invalid Semantic Version
exit status 1

It was failing for the version string latest.

Checklist

  1. Closes No

  2. How was this tested: GHA

  3. Any docs updates needed? No