mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Update BuildImage.yml
This commit is contained in:
@@ -15,7 +15,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
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
|
- name: Tag image
|
||||||
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) }}
|
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user