We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58b8f74 commit 1b0f1a7Copy full SHA for 1b0f1a7
.github/workflows/release.yaml
@@ -0,0 +1,34 @@
1
+name: Release Image
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*' # Trigger on version tags
7
8
+ workflow_dispatch:
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
19
+ - name: Set up Docker Buildx
20
+ uses: docker/setup-buildx-action@v3
21
22
+ - name: Log in to Docker Hub
23
+ uses: docker/login-action@v3
24
+ with:
25
+ registry: ghcr.io
26
+ username: ${{ secrets.DOCKER_MACHINE_USER }}
27
+ password: ${{ secrets.DOCKER_MACHINE_TOKEN }}
28
29
+ - name: Build and push
30
+ uses: docker/build-push-action@v6
31
32
+ push: true
33
+ platforms: linux/amd64,linux/arm64
34
+ tags: ghcr.io/port-labs/port-sender:${{ github.ref_name }}
0 commit comments