Skip to content

Commit 4198076

Browse files
authored
Merge pull request #6 from int2001/CI_Pipe
Ci pipe
2 parents f3a8dd6 + 39e4a74 commit 4198076

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
types: [published]
66
workflow_dispatch:
77

8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
@@ -23,7 +27,7 @@ jobs:
2327
id: meta
2428
uses: docker/metadata-action@v5
2529
with:
26-
images: ${{ env.REGISTRY_IMAGE }}
30+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
2731
- name: Set up QEMU
2832
uses: docker/setup-qemu-action@v3
2933
- name: Set up Docker Buildx
@@ -34,4 +38,5 @@ jobs:
3438
context: .
3539
platforms: linux/amd64,linux/arm64,linux/arm/v7
3640
push: true
37-
tags: ghcr.io/wavelog/wavelog:${{ github.ref_name == 'master' && 'latest' || github.ref_name }}
41+
tags: ${{ steps.meta.outputs.tags }}
42+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)