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 ff33bd5 commit ecb1d27Copy full SHA for ecb1d27
.github/workflows/dotnet.yml
@@ -24,3 +24,16 @@ jobs:
24
run: dotnet build --no-restore
25
- name: Test
26
run: dotnet test --no-build --verbosity normal
27
+
28
+ - name: Login to Docker Hub
29
+ uses: docker/login-action@v2
30
+ with:
31
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
32
+ password: ${{ secrets.DOCKERHUB_PASSWORD }}
33
34
+ - name: Build and push Docker image
35
+ uses: docker/build-push-action@v4
36
37
+ context: .
38
+ push: true
39
+ tags: ${{ secrets.DOCKERHUB_USERNAME }}/kubernetestestapp:latest
0 commit comments