Skip to content

Commit

Permalink
Merge pull request #55 from Elenpay/config/add_labels_to_images
Browse files Browse the repository at this point in the history
Add commit and actions link to docker images
  • Loading branch information
itek09 authored Nov 6, 2023
2 parents 7203a47 + 2fb1340 commit 8d2b5dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

labels: |
commit=${{ github.sha }}
actions_run=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Build and push the Docker image
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 8d2b5dc

Please sign in to comment.