We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4c653 commit 339fb8eCopy full SHA for 339fb8e
1 file changed
.github/workflows/Builder.yml
@@ -0,0 +1,25 @@
1
+name: Build and publish
2
+on:
3
+ push:
4
+ branches: [ "main" ]
5
+ workflow_dispatch:
6
+
7
+jobs:
8
+ build-and-push:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Log in to Docker Hub
16
+ uses: docker/login-action@v3
17
+ with:
18
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
19
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
20
21
+ - name: Build Docker image
22
+ run: docker build -t marco1205/bazzar-backend .
23
24
+ - name: Push Docker image
25
+ run: docker push marco1205/bazzar-backend
0 commit comments