Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: build and push tagged image upon a new release #61

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

Altonhe
Copy link
Member

@Altonhe Altonhe commented Mar 14, 2024

In response to #60, this PR will automatically build, tag, and push docker images while publishing a new release. The docker image tag is the same as the release tag.
Here is a demo in my own repo, I create a release by using tag 2.4.18-cs-v1.0.0 in
https://github.com/Altonhe/onebusaway-docker/releases/tag/2.4.18-cs-v1.0.0,
and the action is triggered here:
https://github.com/Altonhe/onebusaway-docker/actions/runs/8285296607 (failed due to no credentials)

ERROR: failed to solve: failed to push opentransitsoftwarefoundation/onebusaway-bundle-builder:2.4.18-cs-v1.0.0: push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Error: buildx failed with: ERROR: failed to solve: failed to push opentransitsoftwarefoundation/onebusaway-bundle-builder:2.4.18-cs-v1.0.0: push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

@Altonhe Altonhe marked this pull request as ready for review March 14, 2024 17:56
Copy link
Member

@aaronbrethorst aaronbrethorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥 🔥

@aaronbrethorst aaronbrethorst merged commit a883b92 into OneBusAway:main Mar 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants