Skip to content

Commit 9ece4e8

Browse files
committed
created gh actions simple file
1 parent d305b42 commit 9ece4e8

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ci
2+
3+
on: push
4+
5+
jobs:
6+
docker:
7+
runs-on: ubuntu-latest
8+
steps:
9+
-
10+
name: Set up QEMU
11+
uses: docker/setup-qemu-action@v2
12+
-
13+
name: Set up Docker Buildx
14+
uses: docker/setup-buildx-action@v2
15+
-
16+
name: Login to GitHub Container Registry
17+
uses: docker/login-action@v2
18+
with:
19+
registry: ghcr.io
20+
username: ${{ github.repository_owner }}
21+
password: ${{ secrets.GITHUB_TOKEN }}
22+
-
23+
name: Build and push
24+
uses: docker/build-push-action@v3
25+
with:
26+
push: true
27+
tags: user/app:latest
28+

0 commit comments

Comments
 (0)