We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 886957b commit 30fcff7Copy full SHA for 30fcff7
1 file changed
.github/workflows/build-push.yml
@@ -1,4 +1,23 @@
1
-name: build-push.yml
+name: Build & Push Docker Image
2
on:
3
+ push:
4
+ branches:
5
+ - main
6
7
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
21
+ context: ./android-emulator
22
+ push: true
23
+ tags: maestrodeck/android-emulator-runner:latest
0 commit comments