1 parent 885579b commit 0f45a92Copy full SHA for 0f45a92
1 file changed
.github/workflows/docker-image.yml
@@ -0,0 +1,20 @@
1
+name: Build and Push to Docker Hub
2
+on:
3
+ push:
4
+ branches: [ "main" ]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout repository
10
+ uses: actions/checkout@v4
11
+ - name: Log in to Docker Hub
12
+ uses: docker/login-action@v3
13
+ with:
14
+ username: ${{ secrets.DOCKER_USERNAME }}
15
+ password: ${{ secrets.DOCKER_PASSWORD }}
16
+ - name: Build and push
17
+ uses: docker/build-push-action@v5
18
19
+ push: true
20
+ tags: vianavitor/slibrarygm-app:latest
0 commit comments