Skip to content

Commit

Permalink
[CI] Fix CI workflow (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Jul 28, 2024
1 parent 15b92f8 commit 52b20ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:


jobs:
build:
release-image:
runs-on: ubuntu-latest

steps:
Expand All @@ -25,18 +25,18 @@ jobs:
registry: ghcr.io
username: ${{ secrets.DOCKER_MACHINE_USER }}
password: ${{ secrets.DOCKER_MACHINE_TOKEN }}

- name: Build and push
if: "!startsWith(github.ref_name, 'v')"
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: Build and push with latest tag
if: "startsWith(github.ref_name, 'v')"
uses: docker/build-push-action@v6
if: startsWith(github.ref_name, 'v')
with:
push: true
platforms: linux/amd64,linux/arm64
Expand Down

0 comments on commit 52b20ad

Please sign in to comment.