Skip to content

Commit 840c4ef

Browse files
authored
Merge pull request #3 from Connecting-Food/hotfix/0.1.1
0.1.1
2 parents 25fe172 + fb747ae commit 840c4ef

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build.yml

+37
Original file line numberDiff line numberDiff line change
@@ -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+
with:
34+
context: .
35+
push: true
36+
tags: |
37+
ghcr.io/${{ github.repository }}:${{ github.base_ref }}

0 commit comments

Comments
 (0)