Skip to content

Commit

Permalink
Merge pull request #4 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 f679d76 + fafa2c0 commit 2f4f13e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ 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
Expand Down

0 comments on commit 2f4f13e

Please sign in to comment.