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 5665fed commit 5736d34Copy full SHA for 5736d34
.github/workflows/main.yml
@@ -0,0 +1,23 @@
1
+name: Continuous Deployment (Prod) (Backend)
2
+on:
3
+ push:
4
+ branches: main
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+
11
+ - name: Docker login
12
+ uses: docker/login-action@v2
13
+ with:
14
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
15
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
16
17
+ - name: Build and push
18
+ uses: docker/build-push-action@v4
19
20
+ context: .
21
+ file: ./docker/Dockerfile.backend
22
+ push: true
23
+ tags: 100xdevs/user-app-backend:${{ github.sha }}
0 commit comments