{"id":44290999,"url":"https://github.com/mapitman/docker-hugo","last_synced_at":"2026-03-05T03:01:19.548Z","repository":{"id":89982716,"uuid":"69131523","full_name":"mapitman/docker-hugo","owner":"mapitman","description":"Docker image to build hugo websites","archived":false,"fork":false,"pushed_at":"2023-09-22T05:43:09.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-11T00:39:15.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapitman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-09-24T22:46:27.000Z","updated_at":"2023-09-22T05:43:12.000Z","dependencies_parsed_at":"2023-05-30T19:30:22.369Z","dependency_job_id":null,"html_url":"https://github.com/mapitman/docker-hugo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mapitman/docker-hugo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapitman%2Fdocker-hugo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapitman%2Fdocker-hugo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapitman%2Fdocker-hugo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapitman%2Fdocker-hugo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapitman","download_url":"https://codeload.github.com/mapitman/docker-hugo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapitman%2Fdocker-hugo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30107639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-10T23:34:19.603Z","updated_at":"2026-03-05T03:01:19.540Z","avatar_url":"https://github.com/mapitman.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-hugo\n\nUse this image to build your [Hugo](https://gohugo.io/) website as a docker image.\n\nI use this image as my build container on [gitlab.com](https://gitlab.com) with their built-in CI system.  \n\n## Sample .gitlab-ci.yml\nThis is the CI configuration I use to build my Hugo based website. I sync the contents to an Amazon Web Services S3 bucket. Then I've setup Cloudfront to handle SSL in front of the bucket.\n\n```sh\nimage: mapitman/hugo:latest\nstages:\n  - build\n  - deploy\nvariables:\n  GIT_SUBMODULE_STRATEGY: recursive\nbuild:\n  stage: build\n  script:\n  - hugo\n  artifacts:\n    paths:\n    - public\n\ndeploy:\n  stage: deploy\n  script:\n  - aws s3 sync ./public/ s3://$AWS_S3_BUCKET/ --acl public-read --delete\n  - aws cloudfront create-invalidation --distribution-id $AWS_DIST_ID  --paths \"/*\"\n  only:\n  - master\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapitman%2Fdocker-hugo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapitman%2Fdocker-hugo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapitman%2Fdocker-hugo/lists"}