Skip to content

Commit 30fcff7

Browse files
committed
chore(ci): Adding automatic gi for push
1 parent 886957b commit 30fcff7

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/build-push.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1-
name: build-push.yml
1+
name: Build & Push Docker Image
22
on:
3+
push:
4+
branches:
5+
- main
36

47
jobs:
8+
build-and-push:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Log in to Docker Hub
14+
uses: docker/login-action@v3
15+
with:
16+
username: ${{ secrets.DOCKERHUB_USERNAME }}
17+
password: ${{ secrets.DOCKERHUB_TOKEN }}
18+
- name: Build and push
19+
uses: docker/build-push-action@v5
20+
with:
21+
context: ./android-emulator
22+
push: true
23+
tags: maestrodeck/android-emulator-runner:latest

0 commit comments

Comments
 (0)