Skip to content

Commit 0902c8b

Browse files
authored
Merge pull request #17 from jfmatth:enh/betterBuild
README improvements
2 parents c1d5bd0 + 3aa9d4a commit 0902c8b

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@ However, some of the distributions out there aren't up to date with the latest v
66

77
## What does this container do?
88

9-
Starting from the golang:latest container (which contains the GO language), it pulls down the latest stable branch of HUGO and compiles it into it's own container. See Dockerfile for more information.
10-
9+
Using the Chainguard base container, add hugo and save the container as hugobuilder
1110

1211
## Builds
1312

1413
### Local Builds
15-
```
16-
podman machine start
17-
.\build.bat
18-
```
14+
Using the function I have on my system, ```build``` it will look for the ```IMAGE``` and ```VERSION``` files to determine the name of the image and it's tag.
1915

20-
If successful, then commit to master and push
16+
There is an optional ```-push``` flag that will push it to the remote repo.
2117

22-
### github actions
23-
This simple container allowed me to learn github actions. Every checkin to master will cause a new build of the image.
18+
```
19+
build
20+
```
2421

25-
I typically update the VERSION file and Dockerfile for each release of HUGO.
22+
You should test the build locally before commiting any changes to master, as that will cause GH Action to build and push the image as well.
2623

2724
## Using the hugobuilder container
2825

build.bat

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)