Skip to content

Commit

Permalink
implement open containers labels
Browse files Browse the repository at this point in the history
  • Loading branch information
phyzical committed Nov 1, 2024
1 parent 32b3caa commit f8df812
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}:latest
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest
platforms: linux/amd64
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit f8df812

Please sign in to comment.