Skip to content

Commit 9f6a641

Browse files
committed
Fix docker cache in github actions
1 parent e14af19 commit 9f6a641

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ jobs:
125125
username: ${{ github.actor }}
126126
password: ${{ secrets.GITHUB_TOKEN }}
127127

128+
- name: Set up Docker Buildx
129+
uses: docker/setup-buildx-action@v4
130+
128131
# Extract metadata (tags, labels) for Docker
129132
# https://github.com/docker/metadata-action
130133
- name: Extract Docker metadata
@@ -133,6 +136,9 @@ jobs:
133136
uses: docker/metadata-action@v4
134137
with:
135138
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.container }}
139+
labels: |
140+
org.opencontainers.image.title=${{ matrix.container }}
141+
org.opencontainers.image.description=Component ${{ matrix.container }} from the fancy-lectures monorepo
136142
tags: |
137143
type=schedule
138144
type=ref,event=branch

0 commit comments

Comments
 (0)