Skip to content

Commit

Permalink
ci: fix reusable docker and maven workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-koehler committed Jun 6, 2024
1 parent 23d41f3 commit 349feef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
echo "is_next_version=true" >> $GITHUB_OUTPUT
else
echo "is_next_version=false" >> $GITHUB_OUTPUT
fi
# Create tags according to the state to be published:
# - next version on main merge: create `*-next` and `*-next.<git_sha>` tags
Expand All @@ -70,6 +71,7 @@ jobs:
echo "version_tag=${{ inputs.docker_org }}/${{ inputs.docker_image }}:${{ env.VERSION }}" >> $GITHUB_OUTPUT
echo "next_tag=${{ inputs.docker_org }}/${{ inputs.docker_image }}:${{ env.VERSION }}-next" >> $GITHUB_OUTPUT
echo "latest_tag=${{ inputs.docker_org }}/${{ inputs.docker_image }}:latest" >> $GITHUB_OUTPUT
fi
# Only build when we will publish, so either a main merge with next-version or a release
- name: Build Docker image
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
echo "is_snapshot_version=true" >> $GITHUB_OUTPUT
else
echo "is_snapshot_version=false" >> $GITHUB_OUTPUT
fi
# Only continue from here when the version matches the event, so either:
# - main merge with snapshot version
Expand Down

0 comments on commit 349feef

Please sign in to comment.