OneBusAway / onebusaway-docker

Docker configuration for the OneBusAway Application Modules (https://github.com/OneBusAway/onebusaway-application-modules)
Apache License 2.0
18 stars 32 forks source link

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

Closed Altonhe closed 7 months ago

Altonhe commented 7 months ago

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