remove specific versions
Some checks failed
Build And Publish Docker / build (push) Has been cancelled

This commit is contained in:
brooke 2024-06-08 05:44:25 -04:00
parent 8e7da1a61c
commit 4d2e2f01e0
2 changed files with 5 additions and 19 deletions

View file

@ -9,11 +9,6 @@ jobs:
build:
runs-on: debian-bookworm
strategy:
matrix:
hugo-version: ["0.127.0"]
node-version: ["22.2.0"]
steps:
- uses: actions/checkout@v3
@ -45,8 +40,7 @@ jobs:
platforms: linux/amd64
push: true
build-args: |
HUGO_VERSION=${{ matrix.hugo-version }}
NODE_VERSION=${{ matrix.node-version }}
HUGO_VERSION="0.127.0"
NODE_VERSION="22.2.0"
tags: |
git.myco.systems/mycosystems/hugo-ci:extended-alpine-${{ matrix.hugo-version }}-${{ matrix.node-version }}-${{ matrix.go-version }}
git.myco.systems/mycosystems/hugo-ci:extended-alpine-latest
git.myco.systems/mycosystems/hugo-ci:latest

View file

@ -4,23 +4,15 @@ Based on golang:`go version`-alpine
Contains nodejs, hugo, npm, rsync
Specific tag versions follow this definition:
extended-`hugo version`-`node vesion`-`go vesion`
eg.
```
git.myco.systems/mycosystems/hugo-ci:extended-0.126.3-22-1.22.3
```
## To use
Run the following in your hugo directory:
```
docker run -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:extended-latest
docker run -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest
```
To also host locally:
```
docker run -p 1313:1313 -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:extended-latest
docker run -p 1313:1313 -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest
```
## Links