mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 22:03:32 -04:00
Update BuildImage.yml
This commit is contained in:
@@ -15,7 +15,10 @@ jobs:
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build --no-cache -t ${{ github.sha }} .
|
||||
# Build variables
|
||||
VERSION=$(git describe --tags --always)
|
||||
# Build image
|
||||
docker build --no-cache --build-arg VERSION=${VERSION} -t ${{ github.sha }} .
|
||||
|
||||
- name: Tag image
|
||||
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) }}
|
||||
|
||||
Reference in New Issue
Block a user