File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,19 @@ name: Build and release latest
33on :
44 push :
55 branches : [ main ]
6-
6+ pull_request :
7+ branches : [ main ]
78
89jobs :
910 Deploy :
1011 runs-on : ubuntu-latest
1112 steps :
1213 - name : Checkout Code
13- uses : actions/checkout@v3.5.3
14+ uses : actions/checkout@v3
15+ - name : Set up QEMU
16+ uses : docker/setup-qemu-action@v2
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v2
1419 - name : Login to GitHub Container Registry
1520 uses : docker/login-action@v2
1621 with :
2126 uses : docker/build-push-action@v4
2227 with :
2328 push : true
29+ platforms : linux/amd64,linux/arm64
2430 tags : |
25- ghcr.io/${{ github.repository }}:latest
31+ ghcr.io/${{ github.repository }}:latest
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout Code
12- uses : actions/checkout@v3.5.3
12+ uses : actions/checkout@v3
1313 - name : Get git tag
1414 uses : olegtarasov/get-tag@v2.1.2
15+ - name : Set up QEMU
16+ uses : docker/setup-qemu-action@v2
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v2
1519 - name : Login to GitHub Container Registry
1620 uses : docker/login-action@v2
1721 with :
2226 uses : docker/build-push-action@v4
2327 with :
2428 push : true
29+ platforms : linux/amd64,linux/arm64
2530 tags : |
2631 ghcr.io/${{ github.repository }}:${{ env.GIT_TAG_NAME }}
2732 ghcr.io/${{ github.repository }}:stable
You can’t perform that action at this time.
0 commit comments