We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82603b4 commit fb1218fCopy full SHA for fb1218f
.github/workflows/ci.yml
@@ -34,4 +34,20 @@ jobs:
34
with:
35
registry: ${{ env.REGISTRY }}
36
username: ${{ github.actor }}
37
- password: ${{ secrets.GITHUB_TOKEN }}
+ password: ${{ secrets.GITHUB_TOKEN }}
38
+
39
+ - name: Extract metadata (tags, labels) for Docker
40
+ id: meta
41
+ uses: docker/metadata-action@v5
42
+ with:
43
+ images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
44
45
+ - name: Build and push Docker image
46
+ uses: docker/build-push-action@v6
47
48
+ push: true
49
+ platforms: linux/amd64, linux/arm64
50
+ tags: ${{ steps.meta.outputs.tags }}
51
+ labels: ${{ steps.meta.outputs.labels }}
52
+ cache-from: type=gha
53
+ cache-to: type=gha,mode=max
0 commit comments