Skip to content

Commit

Permalink
try to fix docker ci
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuly committed Nov 20, 2020
1 parent 9eecab8 commit 24f768f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerimage-gammu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker Image CI with bundled gammu

on:
release:
types: [ published, workflow_dispatch ]
types: [ published ]

jobs:
publish-image:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker Image CI

on:
release:
types: [ published, workflow_dispatch ]
types: [ published ]

jobs:
publish-image:
Expand All @@ -19,6 +19,8 @@ jobs:
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: build image
run: gradle bootBuildImage
- name: tag to latest
run: docker tag folivonet/matrix-sms-bridge:${GITHUB_REF:11} folivonet/matrix-sms-bridge:latest
- name: Publish version tagged image to DockerHub
run: docker push folivonet/matrix-sms-bridge:${GITHUB_REF:11}
- name: Publish latest image to DockerHub
Expand Down

0 comments on commit 24f768f

Please sign in to comment.