Skip to content

Commit

Permalink
ci: fix images tag
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <poan.yang@suse.com>
  • Loading branch information
FrankYang0529 authored and innobead committed Apr 25, 2024
1 parent 6a15cdf commit f63611c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

# longhorn/longhorn-manager image
# longhornio/longhorn-manager image
- name: docker-publish
if: ${{ startsWith(github.ref, 'refs/heads/') }}
uses: docker/build-push-action@v5
with:
context: ./
push: true
platforms: linux/amd64,linux/arm64
tags: longhorn/longhorn-manager:${{ env.branch }}-head
tags: longhornio/longhorn-manager:${{ env.branch }}-head
file: package/Dockerfile

- name: docker-publish-with-tag
Expand All @@ -90,5 +90,5 @@ jobs:
context: ./
push: true
platforms: linux/amd64,linux/arm64
tags: longhorn/longhorn-manager:${{ github.ref_name }}
tags: longhornio/longhorn-manager:${{ github.ref_name }}
file: package/Dockerfile

0 comments on commit f63611c

Please sign in to comment.