Add release tag handling to deploy workflow #10
No reviewers
Labels
No labels
bug
codex
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
datenba-ch/matrix-social-invites!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/update-github-actions-deploy-workflow-zcqyd6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
v*) so releases can build and publish images from tags.sha-...tag) and that the deployment job runs for release tags as well asmain.Description
on.pushin.github/workflows/deploy.ymlto include tag pattern"v*"so tag pushes trigger the workflow.REF_NAME_SHORT(${{ github.ref_name }}) and arefs/tags/*branch in the build step so tagged releases add-t ${IMAGE}:${REF_NAME_SHORT}alongside thesha-...tag and still push to both${INTERNAL_IMAGE}and${GHCR_IMAGE}.PR_NUMBERbe present for tag builds by handling therefs/tags/*case separately.deployjobifcondition to run onrefs/heads/mainor tag refs viastartsWith(github.ref, 'refs/tags/')so deploys occur for releases and main.Testing
Codex Task
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.
⚠️ No Changeset found
Latest commit:
cff40145b1Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.