Skip to content

Commit 128a54f

Browse files
author
CssTechnology
authored
Update main.yml
1 parent d0fdcdb commit 128a54f

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,26 +43,27 @@ jobs:
4343
password: ${{ secrets.JFROG_TOKEN }}
4444

4545
- name: Docker metadata
46-
id: docker-meta
47-
uses: docker/metadata-action@v5
48-
with:
49-
images: "${{ inputs.docker-repository }}/${{ steps.prep.outputs.image }}"
50-
labels: |
51-
com.uhg.image.askid=${{ inputs.ask-id }}
52-
com.uhg.image.branch=${{ github.ref }}
53-
com.uhg.image.build=${{ github.run_id }}
54-
com.uhg.image.buildnumber=${{ github.run_number }}
55-
com.uhg.image.buildurl=${{ github.run_url }}
56-
com.uhg.image.repo_id=${{ github.repository_id }}
57-
com.uhg.image.workflow_name=${{ github.workflow }}
58-
com.uhg.image.workflow_ref=${{ github.workflow_ref }}
59-
org.opencontainers.image.source=${{ github.repository }}
60-
org.opencontainers.image.revision=${{ github.sha }}
61-
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
62-
org.opencontainers.image.authors=${{ github.event.head_commit.author.name }}
63-
org.opencontainers.image.url=${{ github.event.head_commit.url }}
64-
org.opencontainers.image.documentation=${{ github.event.head_commit.url }}
65-
org.opencontainers.image.vendor=UnitedHealth Group
66-
org.opencontainers.image.description=${{ steps.get-description.outputs.repo-description }}
67-
tags: ${{ steps.prep.outputs.tag }}
46+
id: docker-meta
47+
uses: docker/metadata-action@v5
48+
with:
49+
images: "${{ inputs.docker-repository }}/${{ steps.prep.outputs.image }}"
50+
labels: |
51+
com.uhg.image.askid=${{ inputs.ask-id }}
52+
com.uhg.image.branch=${{ github.ref }}
53+
com.uhg.image.build=${{ github.run_id }}
54+
com.uhg.image.buildnumber=${{ github.run_number }}
55+
com.uhg.image.buildurl=${{ github.run_url }}
56+
com.uhg.image.repo_id=${{ github.repository_id }}
57+
com.uhg.image.workflow_name=${{ github.workflow }}
58+
com.uhg.image.workflow_ref=${{ github.workflow_ref }}
59+
org.opencontainers.image.source=${{ github.repository }}
60+
org.opencontainers.image.revision=${{ github.sha }}
61+
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
62+
org.opencontainers.image.authors=${{ github.event.head_commit.author.name }}
63+
org.opencontainers.image.url=${{ github.event.head_commit.url }}
64+
org.opencontainers.image.documentation=${{ github.event.head_commit.url }}
65+
org.opencontainers.image.vendor=UnitedHealth Group
66+
org.opencontainers.image.description=${{ steps.get-description.outputs.repo-description }}
67+
tags: ${{ steps.prep.outputs.tag }}
68+
6869

0 commit comments

Comments
 (0)