Skip to content
Merged
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
11 changes: 10 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ jobs:
needs: publish
runs-on: ubuntu-latest
steps:
- name: determine docker image version from ref_name
# We need to remove the leading "v" from version strings like "v1.2.3", but not from tags like "very-nice".
# Unfortunately, we cannot do this inline but need a separate step that stores the result in outputs.
# https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-an-output-parameter
id: image-version
run: |
version="${{ github.ref_name }}"
[[ "$version" == v[0-9]* ]] && version="${version#v}"
echo "IMAGE_VERSION=$version" >> "$GITHUB_OUTPUT"
- name: trigger e2e tests
uses: FAIRDataTeam/github-workflows/.github/actions/repo-dispatch@v3
with:
Expand All @@ -50,6 +59,6 @@ jobs:
event-type: trigger-tests
client-payload: |
{
"fdp_version": "${{ github.ref_name }}",
"fdp_version": "${{ steps.image-version.outputs.IMAGE_VERSION }}",
"fdp_client_version": "latest"
}
Loading