Skip to content

Commit

Permalink
Merge pull request #477 from H2-invent/hotfix/create_docker_images
Browse files Browse the repository at this point in the history
add docker hub push to relese pipeline
  • Loading branch information
holema authored Nov 12, 2023
2 parents a1967c0 + 6207e65 commit 5c8ece6
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/pipeline-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
needs:
- artifact
runs-on: ubuntu-latest
outputs:
create_release_output: ${{ steps.version.outputs.version }}
steps:

- name: Checkout
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -72,3 +74,29 @@ jobs:
artifacts: artifact/application.zip,artifact/nodejs/websocket.zip
artifactContentType: application/zip
bodyFile: RELEASE_NOTE.md

upload_dockerhub_main:
needs:
- create_release
uses: h2invent/jitsi-admin/.github/workflows/task-upload-docker-hub.yml@devops
with:
reponame: 'h2invent/jitsi-admin-main'
dockerfile_path: './Dockerfile'
directory: '.'
version: h2invent/jitsi-admin-main:latest,h2invent/jitsi-admin-main:${{ needs.create_release.outputs.create_release_output }}
secrets:
dockerhub_password: ${{ secrets.DOCKERHUB_TOKEN }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}

upload_dockerhub_websocket:
needs:
- create_release
uses: h2invent/jitsi-admin/.github/workflows/task-upload-docker-hub.yml@devops
with:
reponame: 'h2invent/jitsi-admin-websocket'
dockerfile_path: './nodejs/Dockerfile'
directory: './nodejs'
version: h2invent/jitsi-admin-websocket:latest,h2invent/jitsi-admin-websocket:${{ needs.create_release.outputs.create_release_output }}
secrets:
dockerhub_password: ${{ secrets.DOCKERHUB_TOKEN }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}

0 comments on commit 5c8ece6

Please sign in to comment.