We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 604a15b commit f281068Copy full SHA for f281068
1 file changed
.github/workflows/ci.yml
@@ -1,16 +1,32 @@
1
-name: omniops-ci
+name: OmniOps CI Pipeline
2
3
on:
4
push:
5
- branches: [ "main" ]
+ branches:
6
+ - main
7
8
jobs:
- build:
9
+ build-and-push:
10
runs-on: ubuntu-latest
11
12
steps:
13
- name: Checkout code
14
uses: actions/checkout@v4
15
- - name: Build Docker image
16
- run: docker build -t omniops-app -f docker/Dockerfile .
+ - name: Set up Docker Buildx
17
+ uses: docker/setup-buildx-action@v3
18
+
19
+ - name: Login to Docker Hub
20
+ uses: docker/login-action@v3
21
+ with:
22
+ username: ${{ secrets.DOCKER_USERNAME }}
23
+ password: ${{ secrets.DOCKER_PASSWORD }}
24
25
+ - name: Build and push Docker image
26
+ uses: docker/build-push-action@v5
27
28
+ context: .
29
+ file: docker/Dockerfile
30
+ push: true
31
+ tags: karandeven/omniops-app:latest
32
0 commit comments