Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Commit 1d9d8db

Browse files
authored
Update build_tag.yml
1 parent 1d09da2 commit 1d9d8db

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build_tag.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,17 @@ jobs:
2323
username: ${{ github.actor }}
2424
password: ${{ secrets.GITHUB_TOKEN }}
2525

26+
- name: Metadata
27+
id: meta
28+
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
29+
with:
30+
images: ghcr.io/${{ github.repository }}
31+
2632
- name: Build and push
2733
id: docker_build
2834
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
2935
with:
3036
context: src
3137
push: true
32-
tags: ${{ env.GITHUB_REF }}
33-
labels: ${{ env.GITHUB_REF }}
38+
tags: ${{ steps.meta.outputs.tags }}
39+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)