Skip to content

fix protoc missing and insecure docker login#67

Merged
rromanowski-figure merged 1 commit into
mainfrom
fix/release-docker-build
Jan 9, 2026
Merged

fix protoc missing and insecure docker login#67
rromanowski-figure merged 1 commit into
mainfrom
fix/release-docker-build

Conversation

@rromanowski-figure

@rromanowski-figure rromanowski-figure commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator

Context

Fixes #61

Also fixes protoc issues in release action. Example failure

Changes

  • Add protoc step
  • Migrate to better docker setup

@rromanowski-figure rromanowski-figure marked this pull request as ready for review January 8, 2026 19:37
push: true
tags: |
${{ steps.image.outputs.id }}:${{ env.VERSION }}
${{ github.event.release.prerelease == false && format('{0}:latest', steps.image.outputs.id) || '' }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this syntax for the comparison works but guess we'll see

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anything you're concerned about specifically?

@rpatel-figure rpatel-figure Jan 8, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just if the comparison works as booleans. With how funky GHA syntax is sometimes, I think a lot of people just default to stringifying any GitHub context variables and always doing comparisons like this as string-to-string.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I think it's fine since the release schema specifies

{
	"prerelease": {
        "description": "Whether to identify the release as a prerelease or a full release.",
        "type": "boolean",
        "examples": [
          false
        ]
      },
}
image

It's also present in the wild

Thanks for pointing it out. I'm always wary of GitHub expression syntax and I'm never 100% confident

@rromanowski-figure rromanowski-figure merged commit d74f50f into main Jan 9, 2026
1 check passed
@rromanowski-figure rromanowski-figure deleted the fix/release-docker-build branch January 9, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release workflow uses insecure Docker authentication

3 participants