Skip to content

Commit 48336a1

Browse files
committed
Also publish to docker hub
1 parent af0153e commit 48336a1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish.yml

+14
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ jobs:
3636
tags: type=semver,pattern={{raw}}
3737

3838

39+
- name: Build and push Docker image to docker hub
40+
uses: docker/build-push-action@v1
41+
with:
42+
username: ${{ secrets.DOCKERHUB_USERNAME }}
43+
password: ${{ secrets.DOCKERHUB_TOKEN }}
44+
repository: 131hub/ingress
45+
46+
push: ${{ github.event_name != 'pull_request' }}
47+
tag_with_ref: true
48+
add_git_labels: true
49+
3950
- name: Build and push Docker image
4051
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
4152
with:
@@ -44,3 +55,6 @@ jobs:
4455
tags: ${{ steps.meta.outputs.tags }}
4556
labels: ${{ steps.meta.outputs.labels }}
4657

58+
59+
60+

0 commit comments

Comments
 (0)