Skip to content

Commit cd54673

Browse files
committed
Generate metadata, add tag to built image
1 parent c35c67d commit cd54673

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515

16-
# - name: Generate Metadata
17-
# id: meta
18-
# uses: docker/metadata-action@v5
19-
# with:
20-
# images: ghcr.io/${{ github.repository }}
16+
- name: Generate Metadata
17+
id: meta
18+
uses: docker/metadata-action@v5
19+
with:
20+
images: ghcr.io/${{ github.repository }}
2121

22-
# - name: Build image
23-
# uses: docker/build-push-actions@v6
22+
- name: Build image
23+
uses: docker/build-push-actions@v6
2424

2525
# - name: Log in to GHCR
2626
# if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
@@ -37,4 +37,4 @@ jobs:
3737
with:
3838
# push: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
3939
push: true
40-
# tags: ${{ steps.meta.outputs.tags }}
40+
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)