Closed ashleybot closed 4 months ago
@mlan225 We have a DockerHub org, when you are back, let me know your dockerhub username and I'll add you. https://hub.docker.com/orgs/uksbcoa/members
Push the image on release
My docker hub info is:
username: mlan225 email: armbandit95@gmail.com
The release branch has been updated and the action to build and push to docker hub has successfully run.
i'll consider getting access to the docker org as part of this issue card, so i'll be standing by for the invite before moving this card to done
@mlan225 Sent invite to DockerHub UKSBCOA org
Created the workflow, but encountered an issue during the build phase of the workflow.
Some things to note that I have done:
on: release:
to on: push:
since we want to update on a push to release and im not sure we have an actual release workflow as opposed to just pushing to a release branch. Image pushed to dockerHub using the test branch. Looking into setting the appropriate tags in the workflow.
This is under the assumption that we will want to push up tagged versions of the web application when we make updates instead of only having a "latest" version?
Just use the branch name to tag the image like the other workflows. So in this case it would be release
.
https://github.com/UK-SBCoA/uniform-data-set-dotnet-web/blob/ffe03f57c1a0e526adf780eea40200d23dc71ae0/.github/workflows/container-release.yml#L31
Documentation: https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-docker-hub-and-github-packages