File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ permissions:
66
77on :
88 push :
9- branches : [main, feature/rab-complex-type-nested-columns ]
9+ branches : [main]
1010 workflow_dispatch :
1111 inputs :
1212 branch :
@@ -230,13 +230,9 @@ jobs:
230230 # For manual runs, use version and branch name (sanitized)
231231 BRANCH_NAME=$(echo "${{ github.event.inputs.branch }}" | sed 's/[^a-zA-Z0-9._-]/-/g')
232232 echo "tags=ghcr.io/atlanhq/atlan-java:${{ needs.merge-build.outputs.version }}-${BRANCH_NAME}" >> $GITHUB_OUTPUT
233- elif [ "${{ github.ref }}" = "refs/heads/main" ]; then
233+ else
234234 # For main branch pushes, use version and latest
235235 echo "tags=ghcr.io/atlanhq/atlan-java:${{ needs.merge-build.outputs.version }},ghcr.io/atlanhq/atlan-java:latest" >> $GITHUB_OUTPUT
236- else
237- # For non-main branch pushes, use version and branch name
238- BRANCH_NAME=$(echo "${{ github.ref_name }}" | sed 's/[^a-zA-Z0-9._-]/-/g')
239- echo "tags=ghcr.io/atlanhq/atlan-java:${{ needs.merge-build.outputs.version }}-${BRANCH_NAME}" >> $GITHUB_OUTPUT
240236 fi
241237 - name : Build and publish container image
242238 uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
@@ -275,4 +271,4 @@ jobs:
275271 with :
276272 package_name : ${{ matrix.package_name }}
277273 version : ${{ needs.merge-build.outputs.version }}
278- branch : ${{ github.event.inputs.branch || (github.ref != 'refs/heads/main' && github.ref_name) || '' }}
274+ branch : ${{ github.event.inputs.branch || '' }}
You can’t perform that action at this time.
0 commit comments