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 15cf731 commit 1a699b7Copy full SHA for 1a699b7
.github/workflows/docker-build-push.yml
@@ -1,37 +1,3 @@
1
-name: Build and Push Docker Image
2
-
3
-on:
4
- push:
5
- branches:
6
- - main
7
8
-jobs:
9
- build-and-push:
10
- runs-on: ubuntu-latest
11
12
- steps:
13
- - name: Checkout repository
14
- uses: actions/checkout@v2
15
16
- - name: Set up Docker Buildx
17
- uses: docker/setup-buildx-action@v1
18
19
- - name: Login to Docker Hub
20
- uses: docker/login-action@v1
21
- with:
22
- username: ${{ secrets.DOCKER_USERNAME }}
23
- password: ${{ secrets.DOCKER_PASSWORD }}
24
25
- - name: Build and push Docker image
26
- uses: docker/build-push-action@v2
27
28
- context: .
29
- file: ./Dockerfile
30
- push: true
31
- tags: ${{ secrets.DOCKER_USERNAME }}/fleet-telemetry-consumer:latest
32
33
34
35
name: Build and Push Docker Image
36
37
on:
0 commit comments