We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315eafc commit 90f675eCopy full SHA for 90f675e
.github/workflows/dockerhub.yaml
@@ -0,0 +1,25 @@
1
+name: Push image to DockerHub
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - dev
8
9
+jobs:
10
+ build-image:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Log in to Docker Hub
18
+ uses: docker/login-action@v3
19
+ with:
20
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
22
23
+ - name: Build and push image
24
+ run: |
25
+ ./build.sh image push
0 commit comments