github: add docker build workflow action.

Add an action to build a Docker image and push it to the Github Packages
registry.
This commit is contained in:
evazion
2021-09-03 23:17:14 -05:00
parent 8b85bbe8ea
commit 8aa7608816
2 changed files with 33 additions and 0 deletions

View File

@@ -71,3 +71,6 @@ COPY --from=assets /danbooru /danbooru
USER danbooru
CMD ["bin/rails", "server"]
# https://github.com/opencontainers/image-spec/blob/main/annotations.md
LABEL org.opencontainers.image.source https://github.com/danbooru/danbooru