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
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v1
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
@@ -27,5 +28,5 @@ jobs:
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository_owner }}/aaisp-exporter:${{ github.ref_name }}
|
||||
ghcr.io/${{ github.repository_owner }}/aaisp-exporter:latest
|
||||
ghcr.io/${{ github.repository_owner }}/hg612-exporter:${{ github.ref_name }}
|
||||
ghcr.io/${{ github.repository_owner }}/hg612-exporter:latest
|
||||
|
||||
Reference in New Issue
Block a user