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 6c387fc commit afca209Copy full SHA for afca209
.github/workflows/docker-image.yml
@@ -0,0 +1,31 @@
1
+name: Build and Push Docker Image
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build-and-push:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Log in to Docker Hub
18
+ uses: docker/login-action@v3
19
+ with:
20
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
22
23
+ - name: Set up Docker Buildx
24
+ uses: docker/setup-buildx-action@v3
25
26
+ - name: Build and push
27
+ uses: docker/build-push-action@v5
28
29
+ context: .
30
+ push: true
31
+ tags: solutionforest/simple-docker-agent:latest
0 commit comments