Skip to content

Commit

Permalink
build deb after container
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Dec 4, 2023
1 parent c95ec45 commit 3aec40d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
version: ${{ steps.bump_version.outputs.release }}
token: ${{ secrets.ACTION_DISPATCH }}

- name: update calaos release
uses: fjogeleit/http-request-action@v1
- name: Build deb
uses: peter-evans/repository-dispatch@v1
with:
url: '${{ env.CALAOS_REL_URL }}/${{ env.NAME }}'
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
bearerToken: ${{ secrets.CALAOS_REL_TOKEN }}
data: '{"name": "${{ env.NAME }}", "source": "${{ env.REGISTRY_IMAGE }}:${{ steps.bump_version.outputs.release }}", "version": "${{ steps.bump_version.outputs.release }}"}'
token: ${{ secrets.ACTION_DISPATCH }}
repository: calaos/pkgdebs
event-type: build_deb
client-payload: '{ "pkgname": "calaos-server", "version": "${{ steps.bump_version.outputs.release }}", "image_src": "${{ env.REGISTRY_IMAGE }}:${{ steps.bump_version.outputs.release }}", "prerelease": true }'

14 changes: 7 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ jobs:
version: ${{ steps.bump_version.outputs.release }}
token: ${{ secrets.ACTION_DISPATCH }}

- name: update calaos release
uses: fjogeleit/http-request-action@v1
- name: Build deb
uses: peter-evans/repository-dispatch@v1
with:
url: '${{ env.CALAOS_REL_URL }}/${{ env.NAME }}'
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
bearerToken: ${{ secrets.CALAOS_REL_TOKEN }}
data: '{"name": "${{ env.NAME }}", "source": "${{ env.REGISTRY_IMAGE }}:${{ steps.bump_version.outputs.release }}", "version": "${{ steps.bump_version.outputs.release }}"}'
token: ${{ secrets.ACTION_DISPATCH }}
repository: calaos/pkgdebs
event-type: build_deb
client-payload: '{ "pkgname": "calaos-server", "version": "${{ steps.bump_version.outputs.release }}", "image_src": "${{ env.REGISTRY_IMAGE }}:${{ steps.bump_version.outputs.release }}", "prerelease": false }'

0 comments on commit 3aec40d

Please sign in to comment.