Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish-build-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ jobs:
- name: Generate tag
id: tag
run: |
TAG="ubuntu-${{ github.event.inputs.ubuntu_version }}-bazel-${{ github.event.inputs.bazel_version }}"
TAG="ubuntu-${GITHUB_EVENT_INPUTS_UBUNTU_VERSION}-bazel-${GITHUB_EVENT_INPUTS_BAZEL_VERSION}"
echo "tag=$TAG" >> $GITHUB_OUTPUT
env:
GITHUB_EVENT_INPUTS_UBUNTU_VERSION: ${{ github.event.inputs.ubuntu_version }}
GITHUB_EVENT_INPUTS_BAZEL_VERSION: ${{ github.event.inputs.bazel_version }}
Comment on lines +49 to +53
Copy link
Contributor

Choose a reason for hiding this comment

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

This would be working too ?

Suggested change
TAG="ubuntu-${GITHUB_EVENT_INPUTS_UBUNTU_VERSION}-bazel-${GITHUB_EVENT_INPUTS_BAZEL_VERSION}"
echo "tag=$TAG" >> $GITHUB_OUTPUT
env:
GITHUB_EVENT_INPUTS_UBUNTU_VERSION: ${{ github.event.inputs.ubuntu_version }}
GITHUB_EVENT_INPUTS_BAZEL_VERSION: ${{ github.event.inputs.bazel_version }}
echo "tag=$TAG" >> $GITHUB_OUTPUT
env:
TAG: "ubuntu-${{ github.event.inputs.ubuntu_version }}-bazel-${{ github.event.inputs.bazel_version }}"

Copy link
Contributor

Choose a reason for hiding this comment

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

Could it just even be a job env variable ?


- name: Login to GitHub Container Registry
if: ${{ !github.event.inputs.draft }}
Expand Down
Loading