Merge pull request #165 from pabrahamsson/renovate/chrono-0.x #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- Makefile | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
outputs: | |
release_created: ${{ steps.release.outputs.release_created }} | |
tags: "${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}" | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
release-type: rust | |
package-name: dns-record-update | |
publish-latest: | |
name: Publish latest container image | |
needs: release-please | |
if: ${{ needs.release-please.outputs.release_created != 'true' }} | |
uses: pabrahamsson/dns-record-update/.github/workflows/image-publish.yml@main | |
publish-release: | |
name: Publish versioned container image | |
needs: release-please | |
if: ${{ needs.release-please.outputs.release_created }} | |
uses: pabrahamsson/dns-record-update/.github/workflows/image-publish.yml@main | |
with: | |
tags: "${{ needs.release-please.outputs.tags }} latest" |