We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15b92f8 commit 52b20adCopy full SHA for 52b20ad
.github/workflows/release.yaml
@@ -9,7 +9,7 @@ on:
9
10
11
jobs:
12
- build:
+ release-image:
13
runs-on: ubuntu-latest
14
15
steps:
@@ -25,18 +25,18 @@ jobs:
25
registry: ghcr.io
26
username: ${{ secrets.DOCKER_MACHINE_USER }}
27
password: ${{ secrets.DOCKER_MACHINE_TOKEN }}
28
+
29
- name: Build and push
30
+ if: "!startsWith(github.ref_name, 'v')"
31
uses: docker/build-push-action@v6
- if: !startsWith(github.ref_name, 'v')
-
32
with:
33
push: true
34
platforms: linux/amd64,linux/arm64
35
tags: ghcr.io/port-labs/port-sender:${{ github.ref_name }}
36
37
- name: Build and push with latest tag
38
+ if: "startsWith(github.ref_name, 'v')"
39
- if: startsWith(github.ref_name, 'v')
40
41
42
0 commit comments