We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75890f1 commit 900329eCopy full SHA for 900329e
.github/workflows/pr.yml
@@ -0,0 +1,37 @@
1
+name: Build PR
2
+on:
3
+ pull_request:
4
+
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Correct env
11
+ run:
12
+ echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
13
14
+ - name: Check out code into the Go module directory
15
+ uses: actions/checkout@v1
16
17
+ - name: Set up QEMU
18
+ id: qemu
19
+ uses: docker/setup-qemu-action@v1
20
21
+ - name: Set up Docker Buildx
22
+ id: buildx
23
+ uses: docker/setup-buildx-action@v1
24
25
+ - name: Login to GitHub Container Registry
26
+ uses: docker/login-action@v1
27
+ with:
28
+ registry: ghcr.io
29
+ username: ${{ github.repository_owner }}
30
+ password: ${{ secrets.GITHUB_TOKEN }}
31
32
+ - name: Build container
33
+ uses: docker/build-push-action@v2
34
35
+ context: .
36
+ push: false
37
+ platforms: linux/amd64,linux/arm64
0 commit comments