File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and push Docker image to DockerHub
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ workflow_dispatch : # allows manual trigger
9+
10+ jobs :
11+ push_to_registry :
12+ name : Push Docker image to Docker Hub
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Log in to Docker Hub
20+ uses : docker/login-action@v3
21+ with :
22+ username : ${{ secrets.DBP_DOCKERHUB_CREDENTIAL_USERNAME }}
23+ password : ${{ secrets.DBP_DOCKERHUB_CREDENTIAL_TOKEN_PUSHIMAGES }}
24+
25+ - name : Build and push Docker image
26+ uses : docker/build-push-action@v6
27+ with :
28+ context : .
29+ push : true
30+ tags : dbpedia/databus-python-client:latest
You can’t perform that action at this time.
0 commit comments