Updated documentation and build

This commit is contained in:
TheCaptain989
2021-03-11 18:33:17 -06:00
parent b691618723
commit 7ad6432069
6 changed files with 133 additions and 93 deletions
+6 -1
View File
@@ -17,8 +17,13 @@ jobs:
run: |
# Build variables
VERSION=$(git describe --tags --always)
cat <<EOF
Building version $VERSION
EOF
# Build image
docker build --no-cache --build-arg VERSION=${VERSION} -t ${{ github.sha }} .
docker build --build-arg VERSION=${VERSION} \
--no-cache \
--tag ${{ github.sha }} .
- name: Tag image
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) }}