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
34 changes: 34 additions & 0 deletions .github/workflows/release-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,37 @@
push: ${{ steps.meta.outputs.tags != '' }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}

- name: Extract Semver Tag Only
id: semver_tag
uses: docker/metadata-action@v5
with:
images: docker.io/${{ vars.DOCKERHUB_ORG }}/identus-mediator
tags: |
type=semver,pattern={{version}}

Check failure on line 167 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
- name: Extract SHA Tag Only
id: sha_tag
uses: docker/metadata-action@v5
with:
images: docker.io/${{ vars.DOCKERHUB_ORG }}/identus-mediator
tags: |
type=sha,format=long

Check failure on line 175 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
# This dispatch is to trigger the automatic E2E execution.
# https://github.com/hyperledger-identus/integration
- name: Trigger component integration
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.IDENTUS_CI }}
repository: hyperledger-identus/integration
event-type: integration
client-payload: >
{
"component": "mediator",

Check failure on line 186 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
"version": "${{

Check failure on line 187 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
github.ref_type == 'tag'

Check failure on line 188 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
&& steps.semver_tag.outputs.tags

Check failure on line 189 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
|| steps.sha_tag.outputs.tags

Check failure on line 190 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

trailing spaces
}}"
}

Check failure on line 192 in .github/workflows/release-docker-hub.yml

View workflow job for this annotation

GitHub Actions / lint / YAML

no new line character at the end of file
Loading