We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25fe172 + fb747ae commit 840c4efCopy full SHA for 840c4ef
.github/workflows/build.yml
@@ -0,0 +1,37 @@
1
+name: Build
2
+
3
+on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches:
7
+ - master
8
+ - develop
9
+ workflow_dispatch:
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v2
17
18
+ - name: Set up QEMU
19
+ uses: docker/setup-qemu-action@v1
20
21
+ - name: Set up Docker Buildx
22
+ uses: docker/setup-buildx-action@v1
23
24
+ - name: Log in to the Github Container registry
25
+ uses: docker/login-action@v1
26
+ with:
27
+ registry: ghcr.io
28
+ username: ${{ github.actor }}
29
+ password: ${{ secrets.GITHUB_TOKEN }}
30
31
+ - name: Build & Push image
32
+ uses: docker/build-push-action@v2
33
34
+ context: .
35
+ push: true
36
+ tags: |
37
+ ghcr.io/${{ github.repository }}:${{ github.base_ref }}
0 commit comments