Skip to content

Commit

Permalink
fix latest release (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Jul 28, 2024
1 parent 84e9237 commit f04a6e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ jobs:

- name: Build and push
uses: docker/build-push-action@v6
if: !startsWith(github.ref_name, 'v')
with:
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/port-labs/port-sender:${{ github.ref_name }}

- name: Push latest tag
- name: Build and push with latest tag
uses: docker/build-push-action@v6
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref_name, 'v')
with:
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/port-labs/port-sender:latest
tags: ghcr.io/port-labs/port-sender:${{ github.ref_name }},ghcr.io/port-labs/port-sender:latest

0 comments on commit f04a6e0

Please sign in to comment.