We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c684c2 + f2de979 commit eecf656Copy full SHA for eecf656
.github/workflows/build.yml
@@ -0,0 +1,33 @@
1
+name: Build
2
+on:
3
+ push:
4
+ branches:
5
+ - dev
6
+ tags:
7
+ - 'v*'
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v6
14
+
15
+ - name: Setup QEMU
16
+ uses: docker/setup-qemu-action@v3
17
18
+ - name: Setup docker buildx
19
+ uses: docker/setup-buildx-action@v3
20
21
+ - name: Login no GHCR
22
+ uses: docker/login-action@v3
23
+ with:
24
+ registry: ghcr.io
25
+ username: ${{ github.actor }}
26
+ password: ${{ secrets.GITHUB_TOKEN }}
27
28
+ - name: Build e push multi-arch
29
+ uses: docker/build-push-action@v6
30
31
+ push: true
32
+ platforms: linux/amd64,linux/arm64
33
+ tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }}
0 commit comments