mirror of
https://github.com/nikdoof/hg612-exporter.git
synced 2025-12-13 18:22:15 +00:00
Fix tags for Docker Build
This commit is contained in:
5
.github/workflows/build-docker-image.yaml
vendored
5
.github/workflows/build-docker-image.yaml
vendored
@@ -17,6 +17,7 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
- name: Login to GHCR
|
- name: Login to GHCR
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@@ -27,5 +28,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/${{ github.repository_owner }}/aaisp-exporter:${{ github.ref_name }}
|
ghcr.io/${{ github.repository_owner }}/hg612-exporter:${{ github.ref_name }}
|
||||||
ghcr.io/${{ github.repository_owner }}/aaisp-exporter:latest
|
ghcr.io/${{ github.repository_owner }}/hg612-exporter:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user