Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh authored Mar 10, 2024
1 parent de1f711 commit 015e332
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ on:
- patch

env:
REGISTRY_IMAGE: ghcr.io/calaos/calaos_base
REGISTRY_IMAGE: ghcr.io/calaos/hue2mqtt
NAME: calaos_base
IMG_TAG: dev

jobs:
publish-docker-image:
Expand All @@ -31,7 +30,7 @@ jobs:
id: calaos_version
uses: calaos/action-bump-version@2
with:
version_fragment: 'prerelease'
version_fragment: ${{ github.event.inputs.vincrement || 'prerelease' }}

- name: Docker meta
id: meta
Expand Down Expand Up @@ -60,7 +59,7 @@ jobs:
push: true
build-args: APP_VERSION=${{ steps.calaos_version.outputs.version_bumped }}
tags: |
${{ env.REGISTRY_IMAGE }}:${{ env.IMG_TAG }}
${{ env.REGISTRY_IMAGE }}:latest
${{ env.REGISTRY_IMAGE }}:${{ steps.calaos_version.outputs.version_bumped }}
- name: Create Tag
Expand All @@ -75,4 +74,4 @@ jobs:
token: ${{ secrets.ACTION_DISPATCH }}
repository: calaos/pkgdebs
event-type: build_deb
client-payload: '{ "pkgname": "calaos-hue2mqtt", "version": "${{ steps.calaos_version.outputs.version_bumped }}", "image_src": "${{ env.REGISTRY_IMAGE }}:${{ steps.calaos_version.outputs.version_bumped }}", "prerelease": true }'
client-payload: '{ "pkgname": "calaos-hue2mqtt", "version": "${{ steps.calaos_version.outputs.version_bumped }}", "image_src": "${{ env.REGISTRY_IMAGE }}:${{ steps.calaos_version.outputs.version_bumped }}", "prerelease": ${{ github.event.inputs.vincrement != "" }} }'

0 comments on commit 015e332

Please sign in to comment.